autotools: Don't use wayland-scanner.m4
[platform/upstream/weston.git] / clients / Makefile.am
index 1f7d9dc..87b3a0e 100644 (file)
@@ -254,7 +254,8 @@ endif
 
 endif
 
-@wayland_scanner_rules@
+wayland_protocoldir = $(top_srcdir)/protocol
+include $(top_srcdir)/wayland-scanner.mk
 
 if HAVE_POPPLER
 poppler_programs = weston-view