]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
[ng] remake: don't depend explicitly on Makefile
authorStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 23 Apr 2012 18:06:31 +0000 (20:06 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 23 Apr 2012 20:59:10 +0000 (22:59 +0200)
* am/lib/configure.am (am--refresh): No need to explicitly depend
on %MAKEFILE%, as GNU make will always make sure %MAKEFILE% is
updated before considering the am--refresh target anyway.  Also,
this target don't need a recipe, so don't add any.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
lib/am/configure.am

index 3fc2fc7bd6535173c8a248690a55ed3a62252ad3..e0cd44317ee5a32c6c743a9b40622050dd1819a2 100644 (file)
 
 
 ## This dummy rule is called from subdirectories whenever one of the
-## top-level Makefile's dependencies must be updated.  It does depend
-## on %MAKEFILE% for the benefit of non-GNU make implementations (GNU
-## make will always make sure %MAKEFILE% is updated before considering
-## the am--refresh target anyway).
+## top-level Makefile's dependencies must be updated; it relies on
+## the fact that GNU make always make sure the Makefile is updated
+## before considering the other rules.
 if %?TOPDIR_P%
 .PHONY: am--refresh
-am--refresh: %MAKEFILE%
-       @:
+am--refresh:
 endif %?TOPDIR_P%
 
 ## --------------------- ##