1 files changed, 3 insertions(+), 3 deletions(-)
M Makefile
M Makefile => Makefile +3 -3
@@ 6,13 6,13 @@ build:
mkdir -p wayland/xdg wayland/wlr wayland/wp
hare-wlscanner \
- < /usr/share/wayland-protocols/stable/xdg-shell/xdg-shell.xml \
+ < $(shell pkg-config --variable=pkgdatadir wayland-protocols)/stable/xdg-shell/xdg-shell.xml \
> wayland/xdg/shell.ha
hare-wlscanner \
- < /usr/share/wayland-protocols/staging/single-pixel-buffer/single-pixel-buffer-v1.xml \
+ < $(shell pkg-config --variable=pkgdatadir wayland-protocols)/staging/single-pixel-buffer/single-pixel-buffer-v1.xml \
> wayland/wp/single_pixel_buffer.ha
hare-wlscanner \
- < /usr/share/wlr-protocols/unstable/wlr-layer-shell-unstable-v1.xml \
+ < $(shell pkg-config --variable=pkgdatadir wlr-protocols)/unstable/wlr-layer-shell-unstable-v1.xml \
> wayland/wlr/layer_shell.ha
hare build -o wlhc