diff options
author | Evan Martin <martine@danga.com> | 2010-12-19 23:02:22 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2010-12-19 23:02:22 (GMT) |
commit | 2449472941530bbe82a80e734261e312a76df56a (patch) | |
tree | cbf4cff91c51918dfdb170efa26973150c400180 /manual.asciidoc | |
parent | b942fd3762a20f136346b47de015e02a92ebaa32 (diff) | |
download | Ninja-2449472941530bbe82a80e734261e312a76df56a.zip Ninja-2449472941530bbe82a80e734261e312a76df56a.tar.gz Ninja-2449472941530bbe82a80e734261e312a76df56a.tar.bz2 |
remove special builddir
Diffstat (limited to 'manual.asciidoc')
-rw-r--r-- | manual.asciidoc | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/manual.asciidoc b/manual.asciidoc index 40bbdc1..28112b2 100644 --- a/manual.asciidoc +++ b/manual.asciidoc @@ -208,30 +208,6 @@ rule cc the full command or its description; if a command fails, the full command line will always be printed before the command's output. -Special variables -~~~~~~~~~~~~~~~~~ -`builddir` is a directory for intermediate build output. (The name -comes from autoconf.) It is special in a few ways: - -1. It gets a shorter alias: `@`. -2. It is implicitly a directory and has a `/` appended if needed. -3. It may be used in the filenames of a `build` line. - -You must still be explicit in your rules. In the following -example, the files prefixed with `@` will end up in the `out/` -subdirectory. - ----------------- -builddir = out -build @intermediate_file: combine @generated_file source_file - -# Equivalent rule: -# build out/intermediate_file: combine out/generated_file source_file ----------------- - -XXX I hacked in a special `$root` only understood in builddir -- fix -the semantics here, is this path relative or absolute? - Evaluation and scoping ~~~~~~~~~~~~~~~~~~~~~~ XXX talk about where variables live, nested scopes etc |