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/file | |
| 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/file')
| -rw-r--r-- | pkg/file/gen.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/file/gen.lua b/pkg/file/gen.lua index 633f01f8..2d0426d0 100644 --- a/pkg/file/gen.lua +++ b/pkg/file/gen.lua @@ -23,7 +23,7 @@ build('sed', '$outdir/file.1', '$srcdir/doc/file.man', { }) pkg.hdrs = {'$outdir/include/magic.h'} -pkg.deps = {'$dir/headers', 'pkg/zlib/headers'} +pkg.deps = {'$gendir/headers', 'pkg/zlib/headers'} lib('libmagic.a', [[src/( buffer.c magic.c apprentice.c softmagic.c ascmagic.c |
