automake-ng
[Top][All Lists]
Advanced

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

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


From: Akim Demaille
Subject: Re: [Automake-NG] [PATCH 2/2] [ng] vartypos: update news file
Date: Thu, 7 Jun 2012 11:52:44 +0200

Le 6 juin 2012 à 18:15, Stefano Lattarini a écrit :

> +* 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

I understand why this is nice looking (to use copy_LDADD), but
really, wouldn't it be saner to just some other name?  Say
copy_ldadd.





reply via email to

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