From: Adam Heath Date: Sun, 19 May 2002 09:22:53 +0000 (+0000) Subject: If automake/*.m4 is modified, rebuild aclocal.m4. If aclocal.m4 or X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=357efd33bb21d1aeefb42bbf71c0131c9b723422;p=dpkg If automake/*.m4 is modified, rebuild aclocal.m4. If aclocal.m4 or configure.in are modified, rebuild configure.in. config.h.in gets rebuilt if configure.in is modified. And, lastly, configure is rerun, if configure or config.h.in is modified. --- diff --git a/ChangeLog b/ChangeLog index 46159c2a..ecb54985 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Sun May 19 04:18:46 CDT 2002 Adam Heath + + * debian/rules: If automake/*.m4 is modified, rebuild aclocal.m4. If + aclocal.m4 or configure.in are modified, rebuild configure.in. + config.h.in gets rebuilt if configure.in is modified. And, lastly, + configure is rerun, if configure or config.h.in is modified. + Sun May 19 04:09:25 CDT 2002 Adam Heath * debian/rules: Fix targets, so that if configure fails, but actually diff --git a/debian/rules b/debian/rules index 85314efa..008c4594 100755 --- a/debian/rules +++ b/debian/rules @@ -24,8 +24,17 @@ endif BUILD-DIRS := $(BUILD) $(BUILD)-static +aclocal.m4: $(wildcard automake/*.m4) + aclocal.m4 -I automake + +configure: configure.in aclocal.m4 + autoconf + +config.h.in: configure.in + autoheader + # Setup the buildlocation -$(BUILD)/configure-stamp: +$(BUILD)/configure-stamp: configure config.h.in $(checkdir) install -d $(@D) cd $(@D) && LDFLAGS=$(LDFLAGS) $(DIR)/configure \