5 # wipe out temporary autotools files, necessary
6 # when switching between distros
7 rm -rf aclocal.m4 m4 autom4te.cache config.guess config.sub config.h.in configure depcomp install-sh ltmain.sh missing
9 # intltoolize fails to copy its macros unless m4 exits
15 glib-gettextize --force --copy
16 intltoolize --force --copy --automake
17 aclocal -I m4 -I m4-repo
19 automake -a -c -Wno-portability
22 # This hack is required for the autotools on Debian Etch.
23 # Without it, configure expects a po/Makefile where
24 # only po/Makefile.in is available. This patch fixes
25 # configure so that it uses po/Makefile.in, like more
27 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