From: Holger Hans Peter Freyther Date: Thu, 18 Jul 2013 07:18:55 +0000 (+0200) Subject: make: Automake is complaining about .PRECIOUS being redefined X-Git-Tag: v206~13 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=e7c431d3bcfdeeec5dcae0707145edb9a3f749aa make: Automake is complaining about .PRECIOUS being redefined 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 [zj: s/%MAKEFILE%/Makefile/ because %MAKEFILE% wasn't actually substituted properly.] --- diff --git a/Makefile.am b/Makefile.am index c4b9b1ad2..3ece887b1 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