Add another thought to the docs for --mtime.
[sgt/agedu] / Buildscr
CommitLineData
6209008b 1# -*- sh -*-
2#
3# bob script to build the agedu tarball.
4
5module agedu
6
e6fde1f7 7# Build the man page.
8in agedu do make doc
9
6209008b 10in agedu do sed '/AC_INIT/s/6.66/r$(revision)/' configure.ac > tmp.ac
11in agedu do mv tmp.ac configure.ac
12in agedu do aclocal
13in agedu do autoconf
14in agedu do autoheader
15in agedu do automake -a --foreign
c13f47a6 16in agedu do rm -rf autom4te.cache
6209008b 17
18in . do cp -R agedu agedu-r$(revision)
19in . do rm agedu-r$(revision)/GNUmakefile
c13f47a6 20in . do tar chzvf agedu-r$(revision).tar.gz agedu-r$(revision)
6209008b 21
e0ef9550 22in agedu do halibut --html=manpage.html agedu.but
c1065ef6 23in agedu do halibut --html=tree.html tree.but
e0ef9550 24
6209008b 25deliver agedu-r$(revision).tar.gz $@
e0ef9550 26deliver agedu/manpage.html $@
c1065ef6 27deliver agedu/tree.html $@
2e665410 28
29delegate windows
30 # FIXME: Cygwin alternative?
31 in agedu do cmd /c vcvars32 \& cl winscan.c
32 return agedu/winscan.exe
33enddelegate
34
052f73ac 35deliver agedu/winscan.exe ageduscan.exe