Module: wine Branch: master Commit: 69b032b7ffe2a29fc772eeaa3959db6f1df23049 URL: http://source.winehq.org/git/wine.git/?a=commit;h=69b032b7ffe2a29fc772eeaa39...
Author: Alexandre Julliard julliard@winehq.org Date: Thu Mar 20 13:01:31 2008 +0100
makefile: Add rules for automatically rebuilding configure in maintainer mode.
---
Makefile.in | 12 ++++++++++-- include/stamp-h.in | 1 + 2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/Makefile.in b/Makefile.in index dc53337..3406854 100644 --- a/Makefile.in +++ b/Makefile.in @@ -68,6 +68,14 @@ INSTALLDIRS = $(DESTDIR)$(datadir)/aclocal
@MAKE_RULES@
+$(SRCDIR)/configure: @MAINTAINER_MODE@ configure.ac aclocal.m4 + cd $(SRCDIR) && autoconf --warnings=all + +$(SRCDIR)/include/config.h.in: @MAINTAINER_MODE@ include/stamp-h.in +$(SRCDIR)/include/stamp-h.in: configure.ac aclocal.m4 + cd $(SRCDIR) && autoheader --warnings=all + @echo timestamp > $@ + config.status: configure @./config.status --recheck
@@ -119,9 +127,9 @@ RECURSE_TARGETS = \ $(TESTSUBDIRS:%=%/__test__) \ $(TESTSUBDIRS:%=%/__testclean__)
-depend $(RECURSE_TARGETS): $(MAKEDEP) include/config.h +depend $(RECURSE_TARGETS): $(MAKEDEP)
-$(MAKEDEP): +$(MAKEDEP): include/config.h @cd $(TOOLSDIR)/tools && $(MAKE) makedep
# Test rules diff --git a/include/stamp-h.in b/include/stamp-h.in new file mode 100644 index 0000000..9788f70 --- /dev/null +++ b/include/stamp-h.in @@ -0,0 +1 @@ +timestamp