2010-10-16 20:56:55 +00:00
|
|
|
#!/bin/sh
|
|
|
|
# Run this to generate all the initial makefiles, etc.
|
|
|
|
|
|
|
|
# a silly hack that generates autoregen.sh but it's handy
|
|
|
|
echo "#!/bin/sh" > autoregen.sh
|
|
|
|
echo "./autogen.sh $@ \$@" >> autoregen.sh
|
|
|
|
chmod +x autoregen.sh
|
|
|
|
|
2011-06-21 13:05:37 +00:00
|
|
|
mkdir -p m4
|
|
|
|
|
2010-10-16 20:56:55 +00:00
|
|
|
test -n "$srcdir" || srcdir=$(dirname "$0")
|
2010-12-16 09:42:34 +00:00
|
|
|
test -n "$srcdir" || srcdir=.
|
2010-10-16 20:56:55 +00:00
|
|
|
(
|
|
|
|
cd "$srcdir" &&
|
2016-12-30 10:53:13 +00:00
|
|
|
AUTOPOINT='intltoolize --automake -c -f' autoreconf -fiv &&
|
|
|
|
test -f "po/Makefile.in.in" || intltoolize -c -f
|
2010-10-16 20:56:55 +00:00
|
|
|
) || exit
|
|
|
|
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
|
|
|
|
|