3 # bob script to build the agedu tarball.
7 in agedu do sed '/AC_INIT/s/6.66/r$(revision)/' configure.ac > tmp.ac
8 in agedu do mv tmp.ac configure.ac
9 in agedu do ./mkauto.sh
10 in agedu do rm -rf autom4te.cache
12 # Build the man page. This also tests the automake setup to ensure
13 # configure actually works; but we use a self-delegation (i.e. do all
14 # of this in a throwaway copy of the build directory) to avoid
15 # accidentally shipping any outputs of configure. Instead we return
16 # only the actual man page from the delegation environment.
18 in agedu do ./configure
23 in . do cp -R agedu agedu-r$(revision)
24 in . do tar chzvf agedu-r$(revision).tar.gz agedu-r$(revision)
26 in agedu do halibut --html=manpage.html agedu.but
27 in agedu do halibut --html=tree.html tree.but
29 deliver agedu-r$(revision).tar.gz $@
30 deliver agedu/manpage.html $@
31 deliver agedu/tree.html $@
34 # FIXME: Cygwin alternative?
35 in agedu do cmd /c vcvars32 \& cl winscan.c
36 return agedu/winscan.exe
39 deliver agedu/winscan.exe ageduscan.exe