[Build-common-hackers] a WAF class for CDBS
remi.thebault at gmail.com
Tue Dec 28 10:10:43 UTC 2010
Le lundi 27 décembre 2010 à 00:59 +0100, Jonas Smedegaard a écrit :
> On Mon, Dec 27, 2010 at 12:16:02AM +0100, Rémi Thebault wrote:
> >Le samedi 25 décembre 2010 à 22:18 +0100, Jonas Smedegaard a écrit :
> >> I recommend to support global, package-default and per-package vars
> >I use $(cdbs_curdestdir) in common-install-impl target. I tried
> >something with calling cdbs_expand_curvar, but no success.
> >the var isn't expanded as I expected. I commented out for the moment
> Perhaps if you elaborate on what you tried, I can help figure out what
> went wrong - and we can learn if something is broken or you
> misunderstood how to use it. In other words: maybe documentation just
> needs to be improved :-)
I just commited for this. In my test package:
if I set DEB_WAF_OPTIONS : no effect
if I set DEB_WAF_OPTIONS_ALL : works
if I set DEB_WAF_OPTIONS_DEFAULT : works
if I set DEB_WAF_OPTIONS_pkgname : no effect (it is a single package,
could be the cause)
Is this behaviour correct or something is wrong in the snippet ?
I would have at least expected VAR to be expanded.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Build-common-hackers