]> thyrsus.com Git - vh.git/commitdiff
Add shipper machinery.
authorEric S. Raymond <esr@thyrsus.com>
Fri, 22 Oct 2010 08:42:54 +0000 (04:42 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Fri, 22 Oct 2010 08:42:54 +0000 (04:42 -0400)
Makefile

index 83bbe6a17a1120cb9ac100ff34500edeada8e455..9e37cbdc41afd2f62befbfcda20542244a4111bc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -84,3 +84,16 @@ browser.arc: $(ALL) vh.lpr
 
 TAGS: $(SOURCES)
        etags $(SOURCES)
+
+# Following stuff added after vh became a historical relic.
+
+vh-$(VERS).tar.gz: $(SOURCES) vh.1
+       @ls $(SOURCES) vh.1 | sed s:^:vh-$(VERS)/: >MANIFEST
+       @(cd ..; ln -s vh vh-$(VERS))
+       (cd ..; tar -czvf vh/vh-$(VERS).tar.gz `cat vh/MANIFEST`)
+       @(cd ..; rm vh-$(VERS))
+
+dist: vh-$(VERS).tar.gz
+
+release: vh-$(VERS).tar.gz
+       shipper -u -m -x freshmeat; make clean; rm -f SHIPPER.*