2006-03-11 20:23:43 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
2008-07-29 23:06:11 +02:00
|
|
|
set -e
|
|
|
|
|
2009-07-13 12:55:21 +02:00
|
|
|
# wipe out temporary autotools files, necessary
|
2011-11-17 15:04:18 +01:00
|
|
|
# when switching between distros and SyncEvolution releases
|
|
|
|
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
|
2009-07-13 12:55:21 +02:00
|
|
|
|
2009-07-16 11:33:26 +02:00
|
|
|
# intltoolize fails to copy its macros unless m4 exits
|
|
|
|
mkdir m4
|
|
|
|
|
2011-08-30 16:24:58 +02:00
|
|
|
#env GEN_AUTOTOOLS_SET_VERSION=1 sh ./gen-autotools.sh
|
2008-07-29 23:06:11 +02:00
|
|
|
|
2009-05-06 09:44:40 +02:00
|
|
|
glib-gettextize --force --copy
|
|
|
|
intltoolize --force --copy --automake
|
2013-05-17 13:37:03 +02:00
|
|
|
autoreconf -v -i -f -W all -W no-portability -W no-obsolete
|
2011-08-30 16:24:58 +02:00
|
|
|
|
|
|
|
#libtoolize -c
|
|
|
|
#glib-gettextize --force --copy
|
|
|
|
#intltoolize --force --copy --automake
|
|
|
|
#aclocal -I m4 -I m4-repo
|
|
|
|
#autoheader
|
|
|
|
#automake -a -c -Wno-portability
|
|
|
|
#autoconf
|
2009-06-10 17:28:45 +02:00
|
|
|
|
|
|
|
# This hack is required for the autotools on Debian Etch.
|
|
|
|
# Without it, configure expects a po/Makefile where
|
|
|
|
# only po/Makefile.in is available. This patch fixes
|
|
|
|
# configure so that it uses po/Makefile.in, like more
|
|
|
|
# recent macros do.
|
2011-08-30 16:24:58 +02:00
|
|
|
#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
|