[PATCH 5/5] build: doesn't install wayland-scanner files if the configuration doesn't allow

mchalain [marc.chalain@gmail.com] marc.chalain at gmail.com
Mon Sep 23 02:13:02 PDT 2013


From: mchalain <marc.chalain at gmail.com>

for cross compile the installation of wayland-scanner and other files has to be done by hand.
---
 Makefile.am |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index ddf39d1..a56bb48 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6,7 +6,9 @@ SUBDIRS = src protocol $(doc_subdir) tests cursor
 
 ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
 
+if ENABLE_SCANNER
 aclocaldir = $(datadir)/aclocal
 dist_aclocal_DATA = wayland-scanner.m4
 
 dist_pkgdata_DATA = wayland-scanner.mk
+endif
-- 
1.7.9.5



More information about the wayland-devel mailing list