gstreamer/mediainfo/autogen.sh
Stefan Sauer 9d662a51d2 build: tweak autogen.sh
Generate autoregen.sh, run configure.
2013-09-15 19:50:27 +02:00

16 lines
438 B
Bash
Executable file

#!/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
test -n "$srcdir" || srcdir=$(dirname "$0")
test -n "$srcdir" || srcdit=.
(
cd "$srcdir" &&
AUTOPOINT='intltoolize --automake --copy' autoreconf -fiv
) || exit
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"