From 45ebe862780045591b39b731ec02a353b69a0a41 Mon Sep 17 00:00:00 2001 From: Sander Sweers Date: Thu, 31 Oct 2013 02:43:14 +0100 Subject: Add options to dis/enable plugins, default build all --- Makefile.am | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index b95c1db..6348395 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,13 +1,27 @@ DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --with-cajadir='$${libdir}/caja/extensions-2.0-distcheck' -SUBDIRS = \ - po \ - gksu \ - image-converter \ - open-terminal \ - sendto \ - share +SUBDIRS = po + +if ENABLE_OPEN_TERMINAL +SUBDIRS += open-terminal +endif + +if ENABLE_SENDTO +SUBDIRS += sendto +endif + +if ENABLE_IMAGE_CONVERTER +SUBDIRS += image-converter +endif + +if ENABLE_GKSU +SUBDIRS += gksu +endif + +if ENABLE_SHARE +SUBDIRS += share +endif EXTRA_DIST = \ intltool-extract.in \ -- cgit v1.2.1