summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2011-05-29 15:24:58 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2011-05-30 23:37:19 +0200
commitbee9871d6a8743b7f01789f196c214354e7f612a (patch)
treef384e771e8679f14a4eca0bfad2886550535c1a1 /Makefile.in
parent82fc4d353ce941f09f16738a31fb8958d0320be2 (diff)
downloadautomake-bee9871d6a8743b7f01789f196c214354e7f612a.tar.gz
remake: behave better with non-GNU make in subdirectories
Currently, with every decent make program, it is possible to rebuild out-of-date autotools-generated files with a simple "make Makefile" -- but for this to work reliably with non-GNU make implementations, the command must be issued from the top-level directory. This patch removes such limitation. * lib/am/configure.am (am--refresh): Depend on `%MAKEFILE%'. * tests/defs.in (using_gmake): New function, backported from the `master' branch (and simplified). * tests/remake-subdir.test: New test. * tests/remake-subdir2.test: Likewise. * tests/remake-subdir-gnu.test: Likewise. * tests/remake-subdir-from-subdir.test: Likewise. * tests/Makefile.am (TESTS): Update.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 49c35f50e..b5acca7bc 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -372,7 +372,7 @@ texinfo.tex
all: all-recursive
.SUFFIXES:
-am--refresh:
+am--refresh: Makefile
@:
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
@for dep in $?; do \