make: quote the wayland-protocols path

This commit is contained in:
Jari Vetoniemi 2020-02-07 17:28:36 +02:00
parent f0af8bdd9c
commit 2a6134cd68

View File

@ -52,7 +52,7 @@ bemenu-renderer-x11.so: private override CPPFLAGS += `pkg-config --cflags-only-I
bemenu-renderer-x11.so: lib/renderers/cairo.h lib/renderers/x11/x11.c lib/renderers/x11/x11.h lib/renderers/x11/window.c lib/renderers/x11/xkb_unicode.c lib/renderers/x11/xkb_unicode.h
lib/renderers/wayland/xdg-shell.c:
wayland-scanner code < `pkg-config --variable=pkgdatadir wayland-protocols`/stable/xdg-shell/xdg-shell.xml > $@
wayland-scanner code < "`pkg-config --variable=pkgdatadir wayland-protocols`/stable/xdg-shell/xdg-shell.xml" > $@
lib/renderers/wayland/wlr-layer-shell-unstable-v1.h:
wayland-scanner client-header < $(subst .h,.xml,$@) > $@