[gnome-chess] Tweak autogen.sh a bit more
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-chess] Tweak autogen.sh a bit more
- Date: Mon, 1 Jun 2015 12:24:19 +0000 (UTC)
commit e04bc15197e9fd7920ccc835df89462f8aa942ac
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Mon Jun 1 07:23:41 2015 -0500
Tweak autogen.sh a bit more
* Spaces not tabs
* Don't print conditional tests
autogen.sh | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index 8f93bc1..d151301 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -18,17 +18,19 @@ if [ "$#" = 0 -a "x$NOCONFIGURE" = "x" ]; then
fi
if [ -d $srcdir/.git ] && [ ! -e $srcdir/.git/hooks/pre-commit ]; then
- ln -s $srcdir/../libgames-support/style-checker $srcdir/.git/hooks/pre-commit && echo "Enabled
pre-commit style checker." || :
+ ln -s $srcdir/../libgames-support/style-checker $srcdir/.git/hooks/pre-commit && echo "Enabled
pre-commit style checker." || :
fi
set -x
-
aclocal --install || exit 1
intltoolize --force --copy --automake || exit 1
autoreconf --verbose --force --install -Wno-portability || exit 1
+set +x
if [ "$NOCONFIGURE" = "" ]; then
+ set -x
$srcdir/configure "$@" || exit 1
+ set +x
if [ "$1" = "--help" ]; then exit 0 else
echo "Now type \`make\' to compile $PKG_NAME" || exit 1
@@ -36,5 +38,3 @@ if [ "$NOCONFIGURE" = "" ]; then
else
echo "Skipping configure process."
fi
-
-set +x
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]