From 357efd33bb21d1aeefb42bbf71c0131c9b723422 Mon Sep 17 00:00:00 2001 From: Adam Heath Date: Sun, 19 May 2002 09:22:53 +0000 Subject: [PATCH] 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. --- ChangeLog | 7 +++++++ debian/rules | 11 ++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) 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 \ -- 2.39.5