Code

autogen.sh: run glib-gettextize
[ncmpc.git] / autogen.sh
1 #!/bin/sh -e
3 # Generate config.h.in
4 echo "touch stamp-h"
5 touch stamp-h
7 # create po/Makefile.in.in
8 glib-gettextize --force --copy
10 # add aclocal.m4 to current dir
11 echo "aclocal..."
12 aclocal -I $PWD/m4
14 # This generates the configure script from configure.in
15 echo "autoconf..."
16 autoconf
18 echo "autoheader..."
19 autoheader
21 # Generate Makefile.in from Makefile.am
22 echo "automake..."
23 automake --add-missing
26 # configure
27 if test x$NOCONFIGURE = x; then
28         echo "./configure $*"
29         ./configure $*
30 fi