]> thyrsus.com Git - microjson.git/commitdiff
Prepare shipping machinery.
authorEric S. Raymond <esr@thyrsus.com>
Tue, 23 Sep 2014 16:21:41 +0000 (12:21 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Tue, 23 Sep 2014 16:21:41 +0000 (12:21 -0400)
Makefile
NEWS [new file with mode: 0644]

index 9de50ef3ac29093b550995d2b0296eefcc6e64a2..addfc82494a2b1d5ca6fe8c97ed4c14ed3b0c252 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -12,6 +12,7 @@ microjson.o: microjson.c microjson.h
 test_microjson: test_microjson.o microjson.o
        $(CC) $(CFLAGS) -o test_microjson test_microjson.o microjson.o
 
+# Regression test
 check: test_microjson
        test_microjson
 
@@ -21,17 +22,19 @@ example2: example2.c microjson.c
 example3: example3.c microjson.c
 
 clean:
-       rm -f microjson.o test_microjson.o test_microjson example1
+       rm -f microjson.o test_microjson.o test_microjson example[123]
 
 CSUPPRESSIONS = -U__UNUSED__
 cppcheck:
        cppcheck -I. --template gcc --enable=all --suppress=unusedStructMember $(CSUPPRESSIONS) *.[ch]
 
 SOURCES = Makefile *.[ch]
-DOCS = README COPYING microjson.asc
+DOCS = README COPYING NEWS control microjson.asc
 ALL =  $(SOURCES) $(DOCS)
 microjson-$(VERSION).tar.gz: $(ALL)
        tar --transform='s:^:microjson-$(VERSION)/:' --show-transformed-names -cvzf microjson-$(VERSION).tar.gz $(ALL)
 
 dist: microjson-$(VERSION).tar.gz
 
+release: microjson-$(VERS).tar.gz microjson.html
+       shipper version=$(VERS) | sh -e -x
diff --git a/NEWS b/NEWS
new file mode 100644 (file)
index 0000000..7f44619
--- /dev/null
+++ b/NEWS
@@ -0,0 +1,3 @@
+                       microjson project news
+
+Repository head: initial release.