blob: 3cbe1a0e22f767e2ff2423b216f6a438c7fc4a2e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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.
|