mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 10:41:04 +00:00
build: tweak autogen.sh
Generate autoregen.sh, run configure.
This commit is contained in:
parent
4c1567a368
commit
9d662a51d2
1 changed files with 16 additions and 1 deletions
|
@ -1 +1,16 @@
|
|||
AUTOPOINT='intltoolize --automake --copy' autoreconf -fiv
|
||||
#!/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" "$@"
|
||||
|
||||
|
|
Loading…
Reference in a new issue