From: simon Date: Thu, 8 Feb 2007 18:39:11 +0000 (+0000) Subject: Arrange to build utils using bob. X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/utils/commitdiff_plain/6a3eb0f952ce11e22b9017e46875a6ca2baeea30 Arrange to build utils using bob. git-svn-id: svn://svn.tartarus.org/sgt/utils@7252 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/Buildscr b/Buildscr new file mode 100644 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 $@ diff --git a/base64/Makefile b/base64/Makefile index e42cb95..b3e65a6 100644 --- a/base64/Makefile +++ b/base64/Makefile @@ -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 diff --git a/beep/Makefile b/beep/Makefile index 8dbc570..0125b01 100644 --- a/beep/Makefile +++ b/beep/Makefile @@ -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 diff --git a/cvt-utf8/Makefile b/cvt-utf8/Makefile index f4cdc89..b519f55 100644 --- a/cvt-utf8/Makefile +++ b/cvt-utf8/Makefile @@ -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 diff --git a/lns/Makefile b/lns/Makefile index 115771f..0eeeccd 100644 --- a/lns/Makefile +++ b/lns/Makefile @@ -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 diff --git a/multi/Makefile b/multi/Makefile index f2ea823..b0a56be 100644 --- a/multi/Makefile +++ b/multi/Makefile @@ -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 diff --git a/nntpid/Makefile b/nntpid/Makefile index 8d9d0be..2b8a9c8 100644 --- a/nntpid/Makefile +++ b/nntpid/Makefile @@ -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 diff --git a/reservoir/Makefile b/reservoir/Makefile index b53b8f5..d0d5886 100644 --- a/reservoir/Makefile +++ b/reservoir/Makefile @@ -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 diff --git a/xcopy/Makefile b/xcopy/Makefile index 9455264..2e683f4 100644 --- a/xcopy/Makefile +++ b/xcopy/Makefile @@ -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