makefile: Add rules for automatically rebuilding configure in maintainer mode.

This commit is contained in:
Alexandre Julliard 2008-03-20 13:01:31 +01:00
parent 9d037226fe
commit 69b032b7ff
2 changed files with 11 additions and 2 deletions

View File

@ -68,6 +68,14 @@ INSTALLDIRS = $(DESTDIR)$(datadir)/aclocal
@MAKE_RULES@ @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: configure
@./config.status --recheck @./config.status --recheck
@ -119,9 +127,9 @@ RECURSE_TARGETS = \
$(TESTSUBDIRS:%=%/__test__) \ $(TESTSUBDIRS:%=%/__test__) \
$(TESTSUBDIRS:%=%/__testclean__) $(TESTSUBDIRS:%=%/__testclean__)
depend $(RECURSE_TARGETS): $(MAKEDEP) include/config.h depend $(RECURSE_TARGETS): $(MAKEDEP)
$(MAKEDEP): $(MAKEDEP): include/config.h
@cd $(TOOLSDIR)/tools && $(MAKE) makedep @cd $(TOOLSDIR)/tools && $(MAKE) makedep
# Test rules # Test rules

1
include/stamp-h.in Normal file
View File

@ -0,0 +1 @@
timestamp