Просмотр исходного кода

Fix overzealous running of autoheader for every build.

Adam Heath лет назад: 24
Родитель
Сommit
ad2f24d268
2 измененных файлов с 8 добавлено и 2 удалено
  1. 4 0
      ChangeLog
  2. 4 2
      debian/rules

+ 4 - 0
ChangeLog

@@ -1,3 +1,7 @@
+Sun May 19 18:48:39 CDT 2002 Adam Heath <doogie@debian.org>
+
+  * debian/rules: Fix overzealous running of autoheader for every build.
+
 Sun May 19 06:05:24 CDT 2002 Adam Heath <doogie@debian.org>
 Sun May 19 06:05:24 CDT 2002 Adam Heath <doogie@debian.org>
 
 
   * configure.in: Split out the -W*-prototype warnings into separate
   * configure.in: Split out the -W*-prototype warnings into separate

+ 4 - 2
debian/rules

@@ -31,11 +31,13 @@ aclocal.m4: $(wildcard automake/*.m4)
 configure: configure.in aclocal.m4
 configure: configure.in aclocal.m4
 	autoconf
 	autoconf
 
 
-config.h.in: configure.in
+$(BUILD)/stamp.config.h.in: configure.in
+	install -d $(@D)
 	autoheader
 	autoheader
+	touch $@
 
 
 # Setup the buildlocation
 # Setup the buildlocation
-$(BUILD)/configure-stamp: configure config.h.in
+$(BUILD)/configure-stamp: configure $(BUILD)/stamp.config.h.in
 	$(checkdir)
 	$(checkdir)
 	install -d $(@D)
 	install -d $(@D)
 	cd $(@D) && LDFLAGS=$(LDFLAGS) $(CURDIR)/configure \
 	cd $(@D) && LDFLAGS=$(LDFLAGS) $(CURDIR)/configure \