libbsd include path issue

Christian Mauderer list at c-mauderer.de
Tue Jul 25 19:19:33 UTC 2017


Am 25.07.2017 um 00:16 schrieb Chris Johns:
> On 25/07/2017 03:09, Christian Mauderer wrote:
>> Hm. It seems for me that the subst would substitute some text in a
>> source file with some other text and generate a target from it. So that
>> most likely could be a nice replacement for the network-config.h (which
>> is just above my new rule and uses some sed magic) but it seems a little
>> overkill for just copying files.
>>
>> Maybe I also haven't found the right documentation for that to find the
>> best function for it. The waf_generator.py generates the libbsd_waf.py.
>> In that file, the build(bld) function is defined and we use the bld
>> object to add some build rules (like my shell command to copy a file).
>> But who calls the build() function and what type has the bld-object. Is
>> there some API documentation for that object?
>>
> 
> I think this is the example:
> 
> https://github.com/waf-project/waf/blob/master/demos/subst/wscript#L33
> 
> Also Section 6.3.3 of the Waf Book ...
> 
> https://waf.io/book/#_buildcontext_specific_methods
> 
> Chris
> 

Hello Chris,

thanks for the links. I'll try to improve my patch with that and send a
new version in the next few days.

Regards

Christian



More information about the devel mailing list