rygel r353 - in trunk: . src/plugins



Author: zeeshanak
Date: Sun Dec 14 20:23:04 2008
New Revision: 353
URL: http://svn.gnome.org/viewvc/rygel?rev=353&view=rev

Log:
Test plugin only gets built/installed if enabled.

Modified:
   trunk/configure.ac
   trunk/src/plugins/Makefile.am

Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac	(original)
+++ trunk/configure.ac	Sun Dec 14 20:23:04 2008
@@ -100,9 +100,15 @@
         AC_MSG_WARN("You want to run the tools uninstalled only? Fine!")
 fi
 
+# Build test plugin
+AC_ARG_ENABLE(test-plugin,
+	[  --enable-test_plugin          build test plugin],,
+        enable_test_plugin=no)
+
 AC_SUBST(abs_top_builddir)
 
 AM_CONDITIONAL([UNINSTALLED], [test "x$enable_uninstalled" = "xyes"])
+AM_CONDITIONAL([BUILD_TEST_PLUGIN], [test "x$enable_test_plugin" = "xyes"])
 
 # Gettext
 GETTEXT_PACKAGE=rygel

Modified: trunk/src/plugins/Makefile.am
==============================================================================
--- trunk/src/plugins/Makefile.am	(original)
+++ trunk/src/plugins/Makefile.am	Sun Dec 14 20:23:04 2008
@@ -1,3 +1,7 @@
+if BUILD_TEST_PLUGIN
 SUBDIRS = tracker test
+else
+SUBDIRS = tracker
+endif
 
 MAINTAINERCLEANFILES = Makefile.in



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