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.]
This commit is contained in:
Holger Hans Peter Freyther 2013-07-18 09:18:55 +02:00 committed by Zbigniew Jędrzejewski-Szmek
parent d4d60b3169
commit e7c431d3bc
1 changed files with 1 additions and 1 deletions

View File

@ -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