From 2c852ef455c7d7238b1370c78b2bfa5f04e2e5f1 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 24 Mar 2008 02:05:40 +0000 Subject: [PATCH] New file, for recreating the build prerequisites after a CVS checkout. --- ChangeLog | 7 +++++++ Makefile.devel | 5 ++++- autogen.sh | 13 +++++++++++++ 3 files changed, 24 insertions(+), 1 deletion(-) create mode 100755 autogen.sh diff --git a/ChangeLog b/ChangeLog index 8289a00..dae3b08 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-03-23 Bruno Haible + + * autogen.sh: New file. + * Makefile.devel (build-prerequisites): New target. + (all): Depend on it. + (EXCLUDE): Also exclude autogen.sh. + 2008-03-23 Bruno Haible Make "make -jN" work again, broken on 2008-02-23. diff --git a/Makefile.devel b/Makefile.devel index c7da7ed..74e326d 100644 --- a/Makefile.devel +++ b/Makefile.devel @@ -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 index 0000000..784493a --- /dev/null +++ b/autogen.sh @@ -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