Arrange to build utils using bob.
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 8 Feb 2007 18:39:11 +0000 (18:39 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 8 Feb 2007 18:39:11 +0000 (18:39 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/utils@7252 cda61777-01e9-0310-a592-d414129be87e

Buildscr [new file with mode: 0644]
base64/Makefile
beep/Makefile
cvt-utf8/Makefile
lns/Makefile
multi/Makefile
nntpid/Makefile
reservoir/Makefile
xcopy/Makefile

diff --git a/Buildscr b/Buildscr
new file mode 100644 (file)
index 0000000..2290182
--- /dev/null
+++ b/Buildscr
@@ -0,0 +1,8 @@
+# -*- sh -*-
+# Build script for utils.
+
+module utils
+
+in utils do make html release DESTDIR=..
+deliver *.html $@
+deliver *.tar.gz $@
index e42cb95..b3e65a6 100644 (file)
@@ -24,7 +24,8 @@ clean:
        rm -f *.1 base64 *.html *.tar.gz
 
 html:
-       halibut --html=$(DESTDIR)/base64.html base64.but
+       halibut --html=base64.html base64.but
+       mv base64.html $(DESTDIR)
 
 release: base64.1
        mkdir -p reltmp/base64
index 8dbc570..0125b01 100644 (file)
@@ -26,7 +26,8 @@ clean:
        rm -f *.1 beep *.html *.tar.gz
 
 html:
-       halibut --html=$(DESTDIR)/beep.html beep.but
+       halibut --html=beep.html beep.but
+       mv beep.html $(DESTDIR)
 
 release: beep.1
        mkdir -p reltmp/beep
index f4cdc89..b519f55 100644 (file)
@@ -19,7 +19,8 @@ clean:
        rm -f *.1 *.html *.tar.gz
 
 html:
-       halibut --html=$(DESTDIR)/cvt-utf8.html cvt-utf8.but
+       halibut --html=cvt-utf8.html cvt-utf8.but
+       mv cvt-utf8.html $(DESTDIR)
 
 release: cvt-utf8.1
        mkdir -p reltmp/cvt-utf8
index 115771f..0eeeccd 100644 (file)
@@ -21,7 +21,8 @@ clean:
        rm -f *.1 *.html *.tar.gz
 
 html:
-       halibut --html=$(DESTDIR)/lns.html lns.but
+       halibut --html=lns.html lns.but
+       mv lns.html $(DESTDIR)
 
 release: lns.1
        mkdir -p reltmp/lns
index f2ea823..b0a56be 100644 (file)
@@ -21,7 +21,8 @@ clean:
        rm -f *.1 *.html *.tar.gz
 
 html:
-       halibut --html=$(DESTDIR)/multi.html multi.but
+       halibut --html=multi.html multi.but
+       mv multi.html $(DESTDIR)
 
 release: multi.1
        mkdir -p reltmp/multi
index 8d9d0be..2b8a9c8 100644 (file)
@@ -21,7 +21,8 @@ clean:
        rm -f *.1 *.html *.tar.gz
 
 html:
-       halibut --html=$(DESTDIR)/nntpid.html nntpid.but
+       halibut --html=nntpid.html nntpid.but
+       mv nntpid.html $(DESTDIR)
 
 release: nntpid.1
        mkdir -p reltmp/nntpid
index b53b8f5..d0d5886 100644 (file)
@@ -21,7 +21,8 @@ clean:
        rm -f *.1 *.html *.tar.gz
 
 html:
-       halibut --html=$(DESTDIR)/reservoir.html reservoir.but
+       halibut --html=reservoir.html reservoir.but
+       mv reservoir.html $(DESTDIR)
 
 release: reservoir.1
        mkdir -p reltmp/reservoir
index 9455264..2e683f4 100644 (file)
@@ -26,7 +26,8 @@ clean:
        rm -f *.1 xcopy *.html *.tar.gz
 
 html:
-       halibut --html=$(DESTDIR)/xcopy.html xcopy.but
+       halibut --html=xcopy.html xcopy.but
+       mv xcopy.html $(DESTDIR)/xcopy.html
 
 release: xcopy.1
        mkdir -p reltmp/xcopy