* 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>
## 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%
## --------------------- ##