X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=autogen.sh;h=a639131d8aad119c586b9d2d549c1d6522896544;hb=a60c40e042cd1c2cc73dfa60b74a54e67a017d6a;hp=4c02b8af463ab88e6035d09fd582d2daf12dc9b4;hpb=20d3e7ace00bc91fa89cd1b709ff85bd0cb0e4ec;p=ncmpc.git diff --git a/autogen.sh b/autogen.sh index 4c02b8a..a639131 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,16 +1,14 @@ -#! /bin/sh +#!/bin/sh -e -# Generate config.h.in -echo "touch stamp-h" -touch stamp-h +rm -rf config.cache build +mkdir build + +# create po/Makefile.in.in +glib-gettextize --force --copy # add aclocal.m4 to current dir echo "aclocal..." -aclocal -I $PWD/m4 - -# rerun libtoolize -echo "libtoolize..." -libtoolize --force +aclocal -I m4 # This generates the configure script from configure.in echo "autoconf..." @@ -21,7 +19,7 @@ autoheader # Generate Makefile.in from Makefile.am echo "automake..." -automake --add-missing +automake --add-missing $AUTOMAKE_FLAGS # configure