[sheepdog] [PATCH] only build the sheepfs subdirectory if sheepfs is enabled
Christoph Hellwig
hch at infradead.org
Wed May 23 20:03:20 CEST 2012
Signed-off-by: Christoph Hellwig <hch at lst.de>
diff --git a/Makefile.am b/Makefile.am
index 80716e6..d0715d0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -17,7 +17,11 @@ sheepdogsysconfdir = ${SHEEPDOGCONFDIR}
sheepdogsysconf_DATA =
-SUBDIRS = lib collie sheep sheepfs include script man tests
+SUBDIRS = lib collie sheep include script man tests
+
+if BUILD_SHEEPFS
+SUBDIRS += sheepfs
+endif
install-exec-local:
$(INSTALL) -d $(DESTDIR)/${localstatedir}/lib/sheepdog
More information about the sheepdog
mailing list