diff options
| author | Michael Forney <mforney@mforney.org> | 2020-01-29 13:56:48 -0800 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2020-01-29 22:14:33 -0800 |
| commit | 051963c7fee2c453d086c6792282f4c299bdf68c (patch) | |
| tree | 7a754ba30a144443de86c080881985f6df2913aa /pkg/fribidi/gen.lua | |
| parent | 35ec1d214359c035a45c4c51c1072f819f421894 (diff) | |
Add support for building multiple configurations
Now, you can build in separate directories per configuration:
mkdir foo
(cd foo && ../setup.lua)
samu -C foo
Diffstat (limited to 'pkg/fribidi/gen.lua')
| -rw-r--r-- | pkg/fribidi/gen.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/fribidi/gen.lua b/pkg/fribidi/gen.lua index 41aeb20b..492437d1 100644 --- a/pkg/fribidi/gen.lua +++ b/pkg/fribidi/gen.lua @@ -24,7 +24,7 @@ sub('tools.ninja', function() exe('gen-'..t..'-tab', expand{'gen.tab/', { 'gen-'..t..'-tab.c', 'packtab.c.o', - }}, {'$dir/headers'}) + }}, {'$gendir/headers'}) end end) @@ -79,7 +79,7 @@ pkg.deps = { '$outdir/mirroring.tab.i', '$outdir/brackets.tab.i', '$outdir/brackets-type.tab.i', - '$dir/headers', + '$gendir/headers', } lib('libfribidi.a', [[ |
