From fb96c9c127dcfa932460b0e8a977ba5f7d26a418 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Thu, 7 Dec 2017 12:53:04 -0600 Subject: Make bash-completion and zsh-completion optional --- Makefile | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d49bef9c..2c8527b5 100644 --- a/Makefile +++ b/Makefile @@ -13,8 +13,13 @@ MK= ${TOP}/mk include ${TOP}/Makefile.inc -SUBDIR= bash-completion conf.d etc init.d local.d man scripts sh src \ - support sysctl.d zsh-completion +SUBDIR= conf.d etc init.d local.d man scripts sh src support sysctl.d + +# Build bash completion or not +MKBASHCOMP?= no +ifeq (${MKBASHCOMP},yes) +SUBDIR+= bash-completion +endif # Build pkgconfig or not MKPKGCONFIG?= yes @@ -22,6 +27,12 @@ ifeq (${MKPKGCONFIG},yes) SUBDIR+= pkgconfig endif +# Build zsh completion or not +MKZSHCOMP?= no +ifeq (${MKZSHCOMP},yes) +SUBDIR+= zsh-completion +endif + # We need to ensure that runlevels is done last SUBDIR+= runlevels -- cgit v1.2.3