[sheepdog] [PATCH] only build the sheepfs subdirectory if sheepfs is enabled

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Wed May 23 20:51:21 CEST 2012


At Wed, 23 May 2012 14:03:20 -0400,
Christoph Hellwig wrote:
> 
> 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

Applied, thanks!

Kazutaka



More information about the sheepdog mailing list