File: autogen.sh

package info (click to toggle)
docbook2x 0.8.8-8
  • links: PTS, VCS
  • area: main
  • in suites: lenny, squeeze, wheezy
  • size: 4,532 kB
  • ctags: 321
  • sloc: xml: 16,229; sh: 3,684; perl: 3,445; ansic: 639; makefile: 404; sed: 11
file content (29 lines) | stat: -rwxr-xr-x 995 bytes parent folder | download | duplicates (5)
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
#!/bin/sh
set -e

if test ! -e perl/docbook2X.pl; then
echo "autogen.sh: Please run this script from the docbook2X/ directory.";
exit 1;
fi

# automake tries to detect the docbook2X.texi file
# but it does not exist until we build the package,
# so put a dummy value in there for now.
echo '@setfilename docbook2X.info' > doc/docbook2X.texi
echo '@setfilename docbook2man-xslt.info' > xslt/documentation/docbook2man-xslt.texi
echo '@setfilename docbook2texi-xslt.info' > xslt/documentation/docbook2texi-xslt.texi
# but if we had a good docbook2X.texi to begin with
# the above command would clobber it, so this tells the
# make system to build it again.
touch -t 197001010000 doc/docbook2X.texi
touch -t 197001010000 xslt/documentation/docbook2man-xslt.texi
touch -t 197001010000 xslt/documentation/docbook2texi-xslt.texi
rm -f doc/docbook2X.txml
rm -f xslt/documentation/docbook2man-xslt.txml
rm -f xslt/documentation/docbook2texi-xslt.txml

aclocal
autoheader
automake --add-missing
autoconf