automake-ng
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Automake-NG] [PATCH 2/2] [ng] vartypos: update news file


From: Stefano Lattarini
Subject: [Automake-NG] [PATCH 2/2] [ng] vartypos: update news file
Date: Wed, 6 Jun 2012 18:15:48 +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 <address@hidden>
---
 NG-NEWS |   14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/NG-NEWS b/NG-NEWS
index 1e3c464..8b2ad53 100644
--- 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)
 ======================================
-- 
1.7.9.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]