autogen: Don't copy all files by default

This commit is contained in:
Patrick Griffis 2016-03-31 07:48:28 -04:00
parent 1f48f9dd6f
commit 19c4adf8ba
1 changed files with 9 additions and 4 deletions

View File

@ -9,10 +9,15 @@ test -z "$srcdir" && srcdir=.
exit 1
}
aclocal --install -I m4 || exit 1
glib-gettextize --force --copy || exit 1
if [ "$1" = "--copy" ]; then
shift
aclocal --force --install || exit 1
intltoolize --force --copy --automake || exit 1
autoreconf --force --install -Wno-portability || exit 1
autoreconf --force --install --include=m4 -Wno-portability || exit 1
else
intltoolize --automake || exit 1
autoreconf --install --symlink --include=m4 -Wno-portability || exit 1
fi
if [ "$NOCONFIGURE" = "" ]; then
$srcdir/configure "$@" || exit 1