summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXZS2018-11-15 13:18:13 +0100
committerXZS2018-11-15 13:18:13 +0100
commita8d9f59476653f808478cb520323c7496b9295e7 (patch)
tree2a9e36caa8a574e77610beca625217581ab36d57
parent5fc5eb7a5132abf19036e3046651f18b9dd5e458 (diff)
downloadaur-a8d9f59476653f808478cb520323c7496b9295e7.tar.gz
highlight syntax
This allows for the display of a highlighted code block in a viewer that understands GitHub Flavored Markdown. For reading in a text editor, it still is reasonably easy on the eyes while marking the bash commends as such.
-rw-r--r--building-waf.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/building-waf.md b/building-waf.md
index da2f77059a69..e78e2f3d9d99 100644
--- a/building-waf.md
+++ b/building-waf.md
@@ -2,12 +2,14 @@
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 resources together and build it.
+```bash
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.