blob: 8207e6a49726c6ec029b2b8f3e3d5a0652787315 (
plain)
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
36
37
38
39
40
41
42
|
#!/bin/sh
## ----------------------------------------------------------------------
## autogen.sh : refresh GNU autotools toolchain for libxml2, and
## refreshes doc/examples/index.html
## For use in root directory of the build tree ONLY.
## ----------------------------------------------------------------------
## Requires: autoconf (2.5x), automake1.9, libtool (1.5.x), xsltproc,
## libxml2-utils
## ----------------------------------------------------------------------
## ----------------------------------------------------------------------
set -e
## ----------------------------------------------------------------------
libtoolize --force --copy
## ----------------------------------------------------------------------
aclocal-1.9
## ----------------------------------------------------------------------
autoheader
## ----------------------------------------------------------------------
automake-1.9 --foreign --add-missing --force-missing --copy
## ----------------------------------------------------------------------
autoconf
# clean up the junk that was created
rm -rf autom4te.cache
# rebuild doc/examples/index.html
make -C doc/examples rebuild
#cd doc/examples
#xsltproc examples.xsl examples.xml
#xmllint --valid --noout index.html
#cd ../..
## ----------------------------------------------------------------------
exit 0
## ----------------------------------------------------------------------
|