From: Stefano Lattarini Date: Wed, 6 Jun 2012 16:12:49 +0000 (+0200) Subject: [ng] vartypos: update news file X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b58ba55a17179a66ed277f2344448cc819116aa5;p=thirdparty%2Fautomake.git [ng] vartypos: update news file * 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 --- diff --git a/NG-NEWS b/NG-NEWS index 1e3c4643c..8b2ad5337 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) ======================================