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/nginx | |
| 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/nginx')
| -rw-r--r-- | pkg/nginx/gen.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/nginx/gen.lua b/pkg/nginx/gen.lua index 20db8a79..a28261d8 100644 --- a/pkg/nginx/gen.lua +++ b/pkg/nginx/gen.lua @@ -50,7 +50,7 @@ end build('awk', '$outdir/ngx_modules.c', {'$dir/modules.txt', '|', '$dir/modules.awk', '$dir/sources.txt'}, { expr='-f $dir/modules.awk -v sources=$dir/sources.txt' }) -cc('$outdir/ngx_modules.c', {'$dir/deps', '$dir/fetch'}) +cc('$outdir/ngx_modules.c', {'$gendir/deps', '$dir/fetch'}) local sources = paths[[src/( core/( |
