I have Autotools-Fu.
[rodin/chimara.git] / autogen.sh
1 #!/bin/sh
2 ### autogen.sh with sensible comments ###############################
3
4 ### GTK-DOC #########################################################
5 # Run before autotools
6 echo "Setting up Gtk-Doc"
7 gtkdocize || exit 1
8
9 ### AUTOTOOLS #######################################################
10 # Runs autoconf, autoheader, aclocal, automake, autopoint, libtoolize
11 echo "Regenerating autotools files"
12 autoreconf --install --symlink || exit 1
13
14 ### GLIB-GETTEXT ####################################################
15 echo "Running glib-gettextize... Ignore non-fatal messages"
16 glib-gettextize --force --copy || exit 1
17
18 ### INTLTOOL ########################################################
19 # Run after autopoint or glib-gettextize
20 echo "Setting up Intltool"
21 intltoolize --copy --force --automake || exit 1