From c79ef3808cc7d7fa41048da1278fcfa54f8fc05f Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 23 Sep 2014 12:21:41 -0400 Subject: [PATCH] Prepare shipping machinery. --- Makefile | 7 +++++-- NEWS | 3 +++ 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 NEWS 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. -- 2.43.0