Version bump for release.
[wumpus.git] / Makefile
index c9c1b925554287f6eb065b593be9c8adfeb7082d..bbd26698f3a78c77e912723e28c1c82792dc569f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,7 @@ superhack: superhack.c
 
 clean:
        rm -f wumpus wumpus.o superhack superhack.o TAGS 
-       rm -f *~ *.1 *.html *.tar.gz MANIFEST SHIPPER.*
+       rm -f *~ *.1 *.html *.tar.gz MANIFEST
 
 TAGS:
        etags wumpus.c
@@ -34,6 +34,11 @@ uninstall:
        rm /usr/bin/wumpus /usr/bin/superhack
        rm /usr/share/man/man6/wumpus.6
 
+CPPCHECKOPTS =
+cppcheck:
+       cppcheck -DREVISION=$(VERS) $(CPPCHECKOPTS) wumpus.c
+       cppcheck -DREVISION=$(VERS) $(CPPCHECKOPTS) superhack.c
+
 wumpus-$(VERS).tar.gz: $(SOURCES) wumpus.6
        @ls $(SOURCES) wumpus.6 | sed s:^:wumpus-$(VERS)/: >MANIFEST
        @(cd ..; ln -s wumpus wumpus-$(VERS))
@@ -43,4 +48,4 @@ wumpus-$(VERS).tar.gz: $(SOURCES) wumpus.6
 dist: wumpus-$(VERS).tar.gz
 
 release: wumpus-$(VERS).tar.gz wumpus.html
-       shipper -u -m -t; make clean
+       shipper version=$(VERS) | sh -e -x