]> www.ginac.de Git - cln.git/commitdiff
New file, for recreating the build prerequisites after a CVS checkout.
authorBruno Haible <bruno@clisp.org>
Mon, 24 Mar 2008 02:05:40 +0000 (02:05 +0000)
committerBruno Haible <bruno@clisp.org>
Mon, 24 Mar 2008 02:05:40 +0000 (02:05 +0000)
ChangeLog
Makefile.devel
autogen.sh [new file with mode: 0755]

index 8289a00f2abc9eb12a5fd7c400bf7737be9605d3..dae3b0825a66d6453b2a2a4572da7e7d217da2d2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-03-23  Bruno Haible  <bruno@clisp.org>
+
+       * autogen.sh: New file.
+       * Makefile.devel (build-prerequisites): New target.
+       (all): Depend on it.
+       (EXCLUDE): Also exclude autogen.sh.
+
 2008-03-23  Bruno Haible  <bruno@clisp.org>
 
        Make "make -jN" work again, broken on 2008-02-23.
index c7da7ed6ab8eb732502e257965019b5c2f58bc32..74e326d79576d6486868a1b991d2d0fb0bca9352 100644 (file)
@@ -14,11 +14,14 @@ PACKEXT = .tar.bz2
 
 EXCLUDE=--exclude CVS\* --exclude \*.o --exclude *.lo --exclude .cvsignore \
         --exclude \*~ --exclude .\#\* --exclude .libs                      \
+        --exclude autogen.sh                                               \
         --exclude ${AUTOCONF_CACHE}
 
-all: configures documentation
+all: build-prerequisites documentation
 
 
+build-prerequisites: configures
+
 CONFIGURES = configure
 CONFIGURES_IN = configure.ac
 
diff --git a/autogen.sh b/autogen.sh
new file mode 100755 (executable)
index 0000000..784493a
--- /dev/null
@@ -0,0 +1,13 @@
+#!/bin/sh
+# Convenience script for regenerating all autogeneratable files that are
+# omitted from the version control repository. In particular, this script
+# also regenerates all aclocal.m4, config.h.in, Makefile.in, configure files
+# with new versions of autoconf or automake.
+#
+# This script requires
+#   - autoconf >= 2.60 and automake >= 1.10 in the PATH,
+#   - GNU make in the PATH.
+
+# Usage: ./autogen.sh
+
+make -f Makefile.devel build-prerequisites