diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2007-12-13 16:18:53 +0900 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2007-12-19 14:50:07 +0900 |
commit | 34d679b268a9ce6d334197b69392f85f46a996b9 (patch) | |
tree | 81fd034b1b508f9edc836d35c406e49a01fd3dd4 /Makefile.in | |
parent | 4b3340f33467aa1bebfa05791dc53bbaf1028381 (diff) |
Don't assume we can re-make Makefile
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@ozlabs.org>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in index cf1befa..62a8cef 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 |