]> Pileus Git - ~andy/fetchmail/blob - autogen.sh
Easy bug fixes for this round.
[~andy/fetchmail] / autogen.sh
1 #!/bin/sh
2 #
3 # autogen.sh glue for fetchmail
4 # $Id: autogen.sh,v 1.1 2001/05/12 08:03:50 esr Exp $
5 #
6 set -e
7
8 #
9 # Refresh GNU gettext, but do not allow symlinks
10 #
11 rm -f po/Makefile.in.in po/ChangeLog po/ChangeLog~ || true
12 gettextize -c -f || true
13
14 # The idea is that we make sure we're always using an up-to-date
15 # version of all the auto* script chain for the build. The GNU autotools
16 # are rather badly designed in that area.
17
18 aclocal
19 autoheader
20 #automake --verbose --foreign --add-missing
21
22 #we don't use symlinks because of debian's build system,
23 #but they would be a better choice.
24 for i in config.guess config.sub missing install-sh mkinstalldirs ; do
25         test -r /usr/share/automake/${i} && cp -f /usr/share/automake/${i} .
26         chmod 755 ${i}
27 done
28
29 autoconf
30
31 #
32 # For the Debian build, refresh list of +x scripts, to avoid
33 # possible breakage if upstream tarball does not include the file
34 # or if it is mispackaged for whatever reason
35 #
36
37 test -d debian && {
38         rm -f debian/executable.files
39         find -type f -perm +111 ! -name '.*' -fprint debian/executable.files
40 }
41
42 exit 0