5 # wipe out temporary autotools files, necessary
6 # when switching between distros and SyncEvolution releases
7 rm -rf aclocal.m4 m4 autom4te.cache config.guess config.sub config.h.in configure depcomp install-sh ltmain.sh missing configure.in src/Makefile.am
9 # intltoolize fails to copy its macros unless m4 exits
12 #env GEN_AUTOTOOLS_SET_VERSION=1 sh ./gen-autotools.sh
14 glib-gettextize --force --copy
15 intltoolize --force --copy --automake
16 autoreconf -v -i -f -W all -W no-portability -W no-obsolete
19 #glib-gettextize --force --copy
20 #intltoolize --force --copy --automake
21 #aclocal -I m4 -I m4-repo
23 #automake -a -c -Wno-portability
26 # This hack is required for the autotools on Debian Etch.
27 # Without it, configure expects a po/Makefile where
28 # only po/Makefile.in is available. This patch fixes
29 # configure so that it uses po/Makefile.in, like more
31 #perl -pi -e 's;test ! -f "po/Makefile";test ! -f "po/Makefile.in";; s;mv "po/Makefile" "po/Makefile.tmp";cp "po/Makefile.in" "po/Makefile.tmp";;' configure