]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
[ng] vartypos: update news file
authorStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 6 Jun 2012 16:12:49 +0000 (18:12 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 6 Jun 2012 16:12:49 +0000 (18:12 +0200)
* NG-NEWS (Warnings and diagnostic):  Diagnostic about typos in
'_SOURCES' etc. variable is issued at make, not automake, runtime,
and when undesired can be silenced (totally or partly) with the
help of the 'AM_VARTYPOS_WHITELIST' variable.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
NG-NEWS

diff --git a/NG-NEWS b/NG-NEWS
index 1e3c4643c695e8c1adc6045d4c641c856fb2f656..8b2ad53372e0800787a4f2f1d173a38ea037d57f 100644 (file)
--- a/NG-NEWS
+++ b/NG-NEWS
@@ -68,6 +68,20 @@ Warnings and diagnostic
   Makefiles rather than in the automake script, so that the latter has
   access to less context and information.
 
+* Diagnostic about possible typos in '_SOURCES', '_LIBADD, '_LDFLAGS',
+  '_LDADD' and '_DEPENDENCIES' variables is now done at make runtime
+  rather than at automake runtime.  In case some (or all) such diagnostic
+  is undesired, it can be silenced by adding the affected variables to
+  the 'AM_VARTYPOS_WHITELIST' variable, as in:
+
+        bin_PROGRAMS = cp mv
+        copy_LDADD = -lselinux -lrt -acl
+        cp_LDADD = $(copy_LDADD)
+        mv_LDADD = $(copy_LDADD)
+        # Without this, the generated Makefile would complain that
+        # no program or library has 'copy' as canonical name.
+        AM_VARTYPOS_WHITELIST = copy_LDADD
+
 
 Serial testsuite harness (obsolescent)
 ======================================