[systemd-devel] [PATCH] make: Automake is complaining about .PRECIOUS being redefined

Holger Hans Peter Freyther holger at freyther.de
Thu Jul 18 00:18:55 PDT 2013


From: Holger Hans Peter Freyther <holger at moiji-mobile.com>

Yesterday I added test-suite.log as dependency to the .PRECIOUS
target. Automake is warning about this target being redefined
and from what I see there is no way I can stop the warning but
I can add the %MAKEFILE% as dependency.

automake warning:
Makefile.am:35: warning: user target '.PRECIOUS' defined here ...
/usr/share/automake-1.13/am/configure.am: ... overrides Automake target '.PRECIOUS' defined here
---
 Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index e598585..c9b0715 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -32,7 +32,7 @@ SUBDIRS = . po
 .SECONDARY:
 
 # Keep the test-suite.log
-.PRECIOUS: $(TEST_SUITE_LOG)
+.PRECIOUS: $(TEST_SUITE_LOG) %MAKEFILE%
 
 LIBUDEV_CURRENT=4
 LIBUDEV_REVISION=6
-- 
1.8.3.2



More information about the systemd-devel mailing list