build: drop "server" from target name for protocol code

This commit is contained in:
Simon Ser 2022-11-25 10:48:07 +01:00
parent 5be5a038da
commit e5475d9310

View file

@ -24,7 +24,7 @@ wl_protos_headers = []
foreach xml : protocols foreach xml : protocols
wl_protos_src += custom_target( wl_protos_src += custom_target(
xml.underscorify() + '_server_c', xml.underscorify() + '_c',
input: xml, input: xml,
output: '@BASENAME@-protocol.c', output: '@BASENAME@-protocol.c',
command: [wayland_scanner, 'private-code', '@INPUT@', '@OUTPUT@'], command: [wayland_scanner, 'private-code', '@INPUT@', '@OUTPUT@'],