summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mate-panel/wayland-protocols/Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/mate-panel/wayland-protocols/Makefile.am b/mate-panel/wayland-protocols/Makefile.am
index 703af7eb..4eb5f35c 100644
--- a/mate-panel/wayland-protocols/Makefile.am
+++ b/mate-panel/wayland-protocols/Makefile.am
@@ -4,12 +4,14 @@ all: wlr-layer-shell-unstable-v1-client-protocol.h wlr-layer-shell-unstable-v1-p
wlr-layer-shell-unstable-v1-client-protocol.h: wlr-layer-shell-unstable-v1.xml
wayland-scanner -c client-header wlr-layer-shell-unstable-v1.xml wlr-layer-shell-unstable-v1-client-protocol.h
+# 'code' is depricated, and can be replaced with 'private-code' when all platforms have a new enough wayland-scanner
wlr-layer-shell-unstable-v1-protocol.c: wlr-layer-shell-unstable-v1.xml
- wayland-scanner -c private-code wlr-layer-shell-unstable-v1.xml wlr-layer-shell-unstable-v1-protocol.c
+ wayland-scanner -c code wlr-layer-shell-unstable-v1.xml wlr-layer-shell-unstable-v1-protocol.c
xdg-shell-client-protocol.h: xdg-shell.xml
wayland-scanner -c client-header xdg-shell.xml xdg-shell-client-protocol.h
+# 'code' is depricated, and can be replaced with 'private-code' when all platforms have a new enough wayland-scanner
xdg-shell-protocol.c: xdg-shell.xml
- wayland-scanner -c private-code xdg-shell.xml xdg-shell-protocol.c
+ wayland-scanner -c code xdg-shell.xml xdg-shell-protocol.c
endif