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
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))
dist: wumpus-$(VERS).tar.gz
release: wumpus-$(VERS).tar.gz wumpus.html
- shipper -u -m -t; make clean
+ shipper version=$(VERS) | sh -e -x