add standard Smack manifest
[platform/upstream/syncevolution.git] / autogen.sh
1 #!/bin/sh
2
3 set -e
4
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
8
9 # intltoolize fails to copy its macros unless m4 exits
10 mkdir m4
11
12 #env GEN_AUTOTOOLS_SET_VERSION=1 sh ./gen-autotools.sh
13
14 glib-gettextize --force --copy
15 intltoolize --force --copy --automake
16 autoreconf -v -i -f -W all -W no-portability -W no-obsolete
17
18 #libtoolize -c
19 #glib-gettextize --force --copy
20 #intltoolize --force --copy --automake
21 #aclocal -I m4 -I m4-repo
22 #autoheader
23 #automake -a -c -Wno-portability
24 #autoconf
25
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
30 # recent macros do.
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