From 7f51bf94108bfabf5a8b619134dd69d020dd4b4e Mon Sep 17 00:00:00 2001 From: Andreas Grapentin Date: Tue, 23 Jan 2018 05:38:08 +0100 Subject: pcr/waf: updated to 1.9.11 --- pcr/waf/building-waf.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 pcr/waf/building-waf.md (limited to 'pcr/waf/building-waf.md') diff --git a/pcr/waf/building-waf.md b/pcr/waf/building-waf.md new file mode 100644 index 000000000..3cbe1a0e2 --- /dev/null +++ b/pcr/waf/building-waf.md @@ -0,0 +1,14 @@ +# Building a custom waf binary + +Waf is primarily intended to be distributed with the project using it. The Arch Linux package makes waf usable directly, but also brings all files necessary to compose a custom binary for your project. To do so, create a temporary directory, link all the necessary resources together and build it. + +cd $(mktemp -d) +ln -s /usr/share/waf/wscript . +ln -s /usr/bin/waf waf-light +ln -s /usr/lib/waf/waflib . +mkdir zip +waf configure build --make-waf --tools='' + +The last line allows you to choose tools to include. + +After this process, there should be a `waf` binary ready in the current working directory. -- cgit v1.2.3