]> Pileus Git - ~andy/fetchmail/blob - autogen.sh
c951f2280ea10a61041c1b27484042f1a6d101ad
[~andy/fetchmail] / autogen.sh
1 #! /bin/sh
2
3 # bootstrap.sh - bootstrap the fetchmail build after a fresh subversion checkout
4 # (C) 2004  Matthias Andree -- GNU GPL V2
5
6 set -e
7 # sanity checks:
8 test -f fetchmail.h
9 test -f fetchmail.c
10 test -f Makefile.am
11
12 # kill junk:
13 rm -rf autom4te.cache
14
15 echo
16 echo "Please stand by while generating files,"
17 echo "this may take a minute or two..."
18 echo
19
20 # Original autogen.sh:
21 #rm -f po/Makefile.in.in po/ChangeLog po/ChangeLog~ || true
22 #gettextize -c -f || true
23
24 # do not use -s here, Eric S. Raymond (ESR) writes they don't
25 # work well in Debian's build system
26 ${AUTORECONF:=autoreconf} -iv
27
28 # Taken from ESR's autgen.sh:
29 #
30 # For the Debian build, refresh list of +x scripts, to avoid
31 # possible breakage if upstream tarball does not include the file
32 # or if it is mispackaged for whatever reason
33 #
34 test -d debian && {
35         rm -f debian/executable.files
36         find -type f -perm +111 ! -name '.*' -fprint debian/executable.files
37 }
38
39 echo
40 echo "You can now run ./configure and make as usual. See INSTALL for details."
41 echo