diff options
| author | Michael Forney <mforney@mforney.org> | 2019-09-19 20:40:57 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2019-09-19 20:41:23 -0700 |
| commit | 71e6699d92b216d83f39c6b99ad97f6ee74cc69f (patch) | |
| tree | c575a8b8404f46f8cc5fad26d231ae3de0a4e98f /pkg/velox | |
| parent | a9a4415ee61ed549c46742238fb930e3760edae3 (diff) | |
Use table to control waylandproto outputs
Diffstat (limited to 'pkg/velox')
| -rw-r--r-- | pkg/velox/gen.lua | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pkg/velox/gen.lua b/pkg/velox/gen.lua index 439a5fb8..a48e0a6c 100644 --- a/pkg/velox/gen.lua +++ b/pkg/velox/gen.lua @@ -9,10 +9,11 @@ cflags{ '-I $builddir/pkg/wld/include', } -waylandproto('protocol/velox.xml', - 'protocol/velox-client-protocol.h', - 'protocol/velox-server-protocol.h', - 'velox-protocol.c') +waylandproto('protocol/velox.xml', { + client='protocol/velox-client-protocol.h', + server='protocol/velox-server-protocol.h', + code='velox-protocol.c', +}) build('copy', '$outdir/protocol/swc-client-protocol.h', '$builddir/pkg/swc/include/swc-client-protocol.h') pkg.deps = { |
