From: Stefano Lattarini Date: Mon, 23 Apr 2012 18:06:31 +0000 (+0200) Subject: [ng] remake: don't depend explicitly on Makefile X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9a4f6a88d739ba2d1a090415ede318c17cfb19f;p=thirdparty%2Fautomake.git [ng] remake: don't depend explicitly on Makefile * 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 --- diff --git a/lib/am/configure.am b/lib/am/configure.am index 3fc2fc7bd..e0cd44317 100644 --- a/lib/am/configure.am +++ b/lib/am/configure.am @@ -16,14 +16,12 @@ ## 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% ## --------------------- ##