From: Eric S. Raymond Date: Fri, 22 Oct 2010 01:33:52 +0000 (-0400) Subject: Prepare for shipping. X-Git-Tag: 1.5~2 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=55b01917092dd442e4d07315ae174ec2ad6e23ce;p=showkey.git Prepare for shipping. --- diff --git a/Makefile b/Makefile index 28ad0a9..ac143f3 100644 --- a/Makefile +++ b/Makefile @@ -8,8 +8,12 @@ showkey: showkey.c showkey.1: showkey.xml xmlto man showkey.xml +showkey.html: showkey.xml + xmlto html-nochunks showkey.xml + clean: rm -f showkey showkey.o splashscreen.h showkey.1 *.rpm *.tar.gz + rm -f MANIFEST SHIPPER.* install: showkey.1 cp showkey /usr/bin/showkey @@ -24,8 +28,10 @@ SOURCES = README COPYING Makefile showkey.c showkey.xml showkey.spec showkey-$(VERS).tar.gz: $(SOURCES) showkey.1 @ls $(SOURCES) showkey.1 | sed s:^:showkey-$(VERS)/: >MANIFEST @(cd ..; ln -s showkey showkey-$(VERS)) - (cd ..; tar -czvf showkey/showkey-$(VERS).tar.gz `cat showkey/MANIFEST`) + (cd ..; tar -czf showkey/showkey-$(VERS).tar.gz `cat showkey/MANIFEST`) @(cd ..; rm showkey-$(VERS)) dist: showkey-$(VERS).tar.gz +release: showkey-$(VERS).tar.gz + shipper -u -m -t; make clean