summaryrefslogtreecommitdiff
path: root/pkg/swc
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-09-19 20:40:57 -0700
committerMichael Forney <mforney@mforney.org>2019-09-19 20:41:23 -0700
commit71e6699d92b216d83f39c6b99ad97f6ee74cc69f (patch)
treec575a8b8404f46f8cc5fad26d231ae3de0a4e98f /pkg/swc
parenta9a4415ee61ed549c46742238fb930e3760edae3 (diff)
Use table to control waylandproto outputs
Diffstat (limited to 'pkg/swc')
-rw-r--r--pkg/swc/gen.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkg/swc/gen.lua b/pkg/swc/gen.lua
index a65cbd3c..6c163738 100644
--- a/pkg/swc/gen.lua
+++ b/pkg/swc/gen.lua
@@ -18,7 +18,11 @@ cflags{
cc('launch/protocol.c')
-waylandproto('protocol/swc.xml', 'include/swc-client-protocol.h', 'include/swc-server-protocol.h', 'swc-protocol.c')
+waylandproto('protocol/swc.xml', {
+ client='include/swc-client-protocol.h',
+ server='include/swc-server-protocol.h',
+ code='swc-protocol.c',
+})
pkg.hdrs = {
copy('$outdir/include', '$srcdir/libswc', {'swc.h'}),