[tracker/rss-enclosures] utils/playlists: Instead of using #if in Makefile, do it for parent's SUBDIRS



commit d1ad119162e572bac39268f431af984862362506
Author: Martyn Russell <martyn lanedo com>
Date:   Mon Oct 25 16:34:21 2010 +0100

    utils/playlists: Instead of using #if in Makefile, do it for parent's SUBDIRS

 utils/Makefile.am           |    5 ++++-
 utils/playlists/Makefile.am |    6 +-----
 2 files changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/utils/Makefile.am b/utils/Makefile.am
index 6b60ac7..bcb76f2 100644
--- a/utils/Makefile.am
+++ b/utils/Makefile.am
@@ -4,6 +4,9 @@ SUBDIRS = 			\
 	gtk-sparql		\
 	lyrics			\
 	services		\
-	playlists		\
 	data-generators		\
 	mtp
+
+if HAVE_TOTEM_PL_PARSER
+SUBDIRS += playlists
+endif
\ No newline at end of file
diff --git a/utils/playlists/Makefile.am b/utils/playlists/Makefile.am
index 83f8891..c9d377d 100644
--- a/utils/playlists/Makefile.am
+++ b/utils/playlists/Makefile.am
@@ -1,10 +1,6 @@
 include $(top_srcdir)/Makefile.decl
 
-noinst_PROGRAMS =
-
-if HAVE_TOTEM_PL_PARSER
-noinst_PROGRAMS += playlist2ttl
-endif
+noinst_PROGRAMS = playlist2ttl
 
 INCLUDES = 				\
 	$(BUILD_CFLAGS)			\



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]