gst-autogen.sh: only update autoregen.sh on actual runs
authorThomas Vander Stichele <thomas@apestaart.org>
Tue, 17 May 2005 14:47:43 +0000 (14:47 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Tue, 17 May 2005 14:47:43 +0000 (14:47 +0000)
Original commit message from CVS:
* gst-autogen.sh: only update autoregen.sh on actual runs

ChangeLog
gst-autogen.sh

index 88e2200..38edf6c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
+
+       * gst-autogen.sh: only update autoregen.sh on actual runs
+
 2005-03-11  Thomas Vander Stichele  <thomas at apestaart dot org>
 
        * m4/check.m4: m4 from the check unit test suite
index 97b2c20..1761fd4 100644 (file)
@@ -1,8 +1,3 @@
-# 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
-
 # helper functions for autogen.sh
 
 debug ()
@@ -270,6 +265,12 @@ autogen_options ()
     esac
   done
 
+  # 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
+
+
   for arg do CONFIGURE_EXT_OPT="$CONFIGURE_EXT_OPT $arg"; done
   if test ! -z "$CONFIGURE_EXT_OPT"
   then