<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.30.3">
</HEAD>
<BODY>
Hi Jonas<BR>
<BR>
Le lundi 27 décembre 2010 à 00:59 +0100, Jonas Smedegaard a écrit :
<BLOCKQUOTE TYPE=CITE>
<PRE>
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 :-)
</PRE>
</BLOCKQUOTE>
<BR>
I just commited for this. In my test package:<BR>
if I set DEB_WAF_OPTIONS : no effect<BR>
if I set DEB_WAF_OPTIONS_ALL : works<BR>
if I set DEB_WAF_OPTIONS_DEFAULT : works<BR>
if I set DEB_WAF_OPTIONS_pkgname : no effect (it is a single package, could be the cause)<BR>
<BR>
Is this behaviour correct or something is wrong in the snippet ?<BR>
I would have at least expected VAR to be expanded.<BR>
<BR>
Thanks<BR>
Rémi
</BODY>
</HTML>