File: Buildscr

package info (click to toggle)
agedu 8928-1
  • links: PTS
  • area: main
  • in suites: squeeze, wheezy
  • size: 696 kB
  • ctags: 383
  • sloc: ansic: 3,919; sh: 787; makefile: 56
file content (35 lines) | stat: -rw-r--r-- 864 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# -*- sh -*-
#
# bob script to build the agedu tarball.

module agedu

# Build the man page.
in agedu do make doc

in agedu do sed '/AC_INIT/s/6.66/r$(revision)/' configure.ac > tmp.ac
in agedu do mv tmp.ac configure.ac
in agedu do aclocal
in agedu do autoconf
in agedu do autoheader
in agedu do automake -a --foreign
in agedu do rm -rf autom4te.cache

in . do cp -R agedu agedu-r$(revision)
in . do rm agedu-r$(revision)/GNUmakefile
in . do tar chzvf agedu-r$(revision).tar.gz agedu-r$(revision)

in agedu do halibut --html=manpage.html agedu.but
in agedu do halibut --html=tree.html tree.but

deliver agedu-r$(revision).tar.gz $@
deliver agedu/manpage.html $@
deliver agedu/tree.html $@

delegate windows
  # FIXME: Cygwin alternative?
  in agedu do cmd /c vcvars32 \& cl winscan.c
  return agedu/winscan.exe
enddelegate

deliver agedu/winscan.exe ageduscan.exe