]> thyrsus.com Git - xve.git/commitdiff
Shipper machinery fix.
authorEric S. Raymond <esr@thyrsus.com>
Fri, 22 Oct 2010 10:59:42 +0000 (06:59 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Fri, 22 Oct 2010 10:59:42 +0000 (06:59 -0400)
Makefile

index 61ac19650f364612c4c8f5da152d013d1d855f4e..7c07dbba519fb1ea8517a3b7e5c671782435eedc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -11,8 +11,12 @@ xve: xve.c
 xve.1: xve.xml
        xmlto man xve.xml 
 
+xve.html: xve.xml
+       xmlto html-nochunks xve.xml 
+
 clean:
        rm -f xve xve.o splashscreen.h xve.1 *.rpm *.tar.gz
+       rm -f MANIFEST *.html SHIPPER.*
 
 install: xve xve.1
        cp xve /usr/bin/xve
@@ -27,7 +31,10 @@ SOURCES = README COPYING Makefile xve.c xve.xml xve.spec
 xve-$(VERS).tar.gz: $(SOURCES) xve.1
        @ls $(SOURCES) xve.1 | sed s:^:xve-$(VERS)/: >MANIFEST
        @(cd ..; ln -s xve xve-$(VERS))
-       (cd ..; tar -czvf xve/xve-$(VERS).tar.gz `cat xve/MANIFEST`)
+       (cd ..; tar -czf xve/xve-$(VERS).tar.gz `cat xve/MANIFEST`)
        @(cd ..; rm xve-$(VERS))
 
 dist: xve-$(VERS).tar.gz
+
+release: xve-$(VERS).tar.gz xve.html
+       shipper -u -m -t; make clean