We currently assume that we can recreate the Makefile by running ./configure, but we don't have the args available, so it's likely that the Makefile will be generated incorrectly. This change depends on config.status instead. We won't get the configure re-run if configure.ac is updated, but we still have the Makefile.in dependency. Signed-off-by: Jeremy Kerr <jk at ozlabs.org> --- Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index fdbb7c2..2cc1c30 100644 --- a/Makefile.in +++ b/Makefile.in @@ -172,8 +172,8 @@ SRCS:= AUTHORS COPYING News TODO Makefile.in configure.ac \ PSRCS:=$(foreach s, $(SRCS), $(PACKAGE_NAME)-$(PACKAGE_VERSION)/$(s)) PGSRCS:=$(foreach s, $(GENERATED_SRCS), $(PACKAGE_NAME)-$(PACKAGE_VERSION)/$(s)) -Makefile: Makefile.in configure - $(srcdir)/configure +Makefile: Makefile.in config.status + ./config.status configure: configure.ac cd $(srcdir) && autoheader && autoconf && rm -rf autom4te.cache