[PATCH weston 1/2] clients: de-duplicate demo clients list

Peter Hutterer peter.hutterer at who-t.net
Thu Sep 12 18:58:59 PDT 2013


---
 clients/Makefile.am | 21 +++++++++------------
 1 file changed, 9 insertions(+), 12 deletions(-)

diff --git a/clients/Makefile.am b/clients/Makefile.am
index 87b3a0e..24c6489 100644
--- a/clients/Makefile.am
+++ b/clients/Makefile.am
@@ -2,20 +2,17 @@ bin_PROGRAMS =					\
 	weston-info				\
 	$(terminal)
 
+demo_clients = \
+	$(clients_programs)			\
+	$(pango_programs)			\
+	$(poppler_programs)			\
+	$(simple_clients_programs)		\
+	$(simple_egl_clients_programs)
+
 if ENABLE_DEMO_CLIENTS
-bin_PROGRAMS +=					\
-	$(clients_programs)			\
-	$(pango_programs)			\
-	$(poppler_programs)			\
-	$(simple_clients_programs)		\
-	$(simple_egl_clients_programs)
+bin_PROGRAMS += $(demo_clients)
 else
-noinst_PROGRAMS =				\
-	$(clients_programs)			\
-	$(pango_programs)			\
-	$(poppler_programs)			\
-	$(simple_clients_programs)		\
-	$(simple_egl_clients_programs)
+noinst_PROGRAMS = $(demo_clients)
 endif
 
 libexec_PROGRAMS =				\
-- 
1.8.3.1



More information about the wayland-devel mailing list