]> thyrsus.com Git - showkey.git/commitdiff
Prepare for shipping.
authorEric S. Raymond <esr@thyrsus.com>
Fri, 22 Oct 2010 01:33:52 +0000 (21:33 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Fri, 22 Oct 2010 01:33:52 +0000 (21:33 -0400)
Makefile

index 28ad0a9bd63a4a7db69443a0ef7bbabad06c00ea..ac143f37d677362338001cfe79bb1d9dcf024495 100644 (file)
--- 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