Change the magic number used to introduce a trie file, so that instead
[sgt/agedu] / Buildscr
CommitLineData
6209008b 1# -*- sh -*-
2#
3# bob script to build the agedu tarball.
4
5module agedu
6
7in agedu do sed '/AC_INIT/s/6.66/r$(revision)/' configure.ac > tmp.ac
8in agedu do mv tmp.ac configure.ac
ee2c6904 9in agedu do ./mkauto.sh
6209008b 10
ee2c6904 11# Build the man page. This also tests the automake setup to ensure
12# configure actually works; but we use a self-delegation (i.e. do all
13# of this in a throwaway copy of the build directory) to avoid
14# accidentally shipping any outputs of configure. Instead we return
15# only the actual man page from the delegation environment.
16delegate -
17 in agedu do ./configure
18 in agedu do make doc
19 return agedu/*.1
20enddelegate
21
6209008b 22in . do cp -R agedu agedu-r$(revision)
c13f47a6 23in . do tar chzvf agedu-r$(revision).tar.gz agedu-r$(revision)
6209008b 24
e0ef9550 25in agedu do halibut --html=manpage.html agedu.but
c1065ef6 26in agedu do halibut --html=tree.html tree.but
e0ef9550 27
6209008b 28deliver agedu-r$(revision).tar.gz $@
e0ef9550 29deliver agedu/manpage.html $@
c1065ef6 30deliver agedu/tree.html $@
2e665410 31
32delegate windows
33 # FIXME: Cygwin alternative?
34 in agedu do cmd /c vcvars32 \& cl winscan.c
35 return agedu/winscan.exe
36enddelegate
37
052f73ac 38deliver agedu/winscan.exe ageduscan.exe