<!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>
Dear list<BR>
<BR>
I'm a newbie packager and a waf build system user.<BR>
I gave some of my time to design a new cdbs class for waf.<BR>
<BR>
I tried to stick to your design pattern.<BR>
<BR>
The use of this waf class in debian/rules is the following :<BR>
include /usr/share/cdbs/1/rules/debhelper.mk<BR>
include /usr/share/cdbs/1/class/waf.mk<BR>
<BR>
there are 2 optional variables that can be set by packagers:<BR>
$(DEB_WAF_OPTIONS) which is appended to configuration options<BR>
$(DEB_WAF_ENV) which is prepended to the invocation<BR>
<BR>
<BR>
It seems to work fine but I only tested it on a very simple package calling directly debian/rules targets.<BR>
<BR>
I attached the files : waf.mk and waf-vars.mk<BR>
<BR>
<BR>
If you find this script not robust enough to fit a production environment, please tell me how I can improve or test it.<BR>
I hope this will lead to a CDBS update soon !<BR>
<BR>
Rémi
</BODY>
</HTML>