From: Eric S. Raymond Date: Tue, 23 Sep 2014 16:21:41 +0000 (-0400) Subject: Prepare shipping machinery. X-Git-Tag: 1.0~17 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=c79ef3808cc7d7fa41048da1278fcfa54f8fc05f;p=microjson.git Prepare shipping machinery. --- diff --git a/Makefile b/Makefile index 9de50ef..addfc82 100644 --- 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 index 0000000..7f44619 --- /dev/null +++ b/NEWS @@ -0,0 +1,3 @@ + microjson project news + +Repository head: initial release.