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:18:46 CDT 2002 Adam Heath <doogie@debian.org>
+
+ * 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 <doogie@debian.org>
* debian/rules: Fix targets, so that if configure fails, but actually
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 \