Make bash-completion and zsh-completion optional
This commit is contained in:
parent
6c456f9383
commit
fb96c9c127
15
Makefile
15
Makefile
@ -13,8 +13,13 @@ MK= ${TOP}/mk
|
|||||||
|
|
||||||
include ${TOP}/Makefile.inc
|
include ${TOP}/Makefile.inc
|
||||||
|
|
||||||
SUBDIR= bash-completion conf.d etc init.d local.d man scripts sh src \
|
SUBDIR= conf.d etc init.d local.d man scripts sh src support sysctl.d
|
||||||
support sysctl.d zsh-completion
|
|
||||||
|
# Build bash completion or not
|
||||||
|
MKBASHCOMP?= no
|
||||||
|
ifeq (${MKBASHCOMP},yes)
|
||||||
|
SUBDIR+= bash-completion
|
||||||
|
endif
|
||||||
|
|
||||||
# Build pkgconfig or not
|
# Build pkgconfig or not
|
||||||
MKPKGCONFIG?= yes
|
MKPKGCONFIG?= yes
|
||||||
@ -22,6 +27,12 @@ ifeq (${MKPKGCONFIG},yes)
|
|||||||
SUBDIR+= pkgconfig
|
SUBDIR+= pkgconfig
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Build zsh completion or not
|
||||||
|
MKZSHCOMP?= no
|
||||||
|
ifeq (${MKZSHCOMP},yes)
|
||||||
|
SUBDIR+= zsh-completion
|
||||||
|
endif
|
||||||
|
|
||||||
# We need to ensure that runlevels is done last
|
# We need to ensure that runlevels is done last
|
||||||
SUBDIR+= runlevels
|
SUBDIR+= runlevels
|
||||||
|
|
||||||
|
@ -22,6 +22,7 @@ below arguments to the make command
|
|||||||
PROGLDFLAGS=-static
|
PROGLDFLAGS=-static
|
||||||
LIBNAME=lib64
|
LIBNAME=lib64
|
||||||
DESTDIR=/tmp/openrc-image
|
DESTDIR=/tmp/openrc-image
|
||||||
|
MKBASHCOMP=no
|
||||||
MKNET=no
|
MKNET=no
|
||||||
MKPAM=pam
|
MKPAM=pam
|
||||||
MKPREFIX=yes
|
MKPREFIX=yes
|
||||||
@ -31,6 +32,7 @@ MKSTATICLIBS=no
|
|||||||
MKSYSVINIT=yes
|
MKSYSVINIT=yes
|
||||||
MKTERMCAP=ncurses
|
MKTERMCAP=ncurses
|
||||||
MKTERMCAP=termcap
|
MKTERMCAP=termcap
|
||||||
|
MKZSHCOMP=no
|
||||||
PKG_PREFIX=/usr/pkg
|
PKG_PREFIX=/usr/pkg
|
||||||
LOCAL_PREFIX=/usr/local
|
LOCAL_PREFIX=/usr/local
|
||||||
PREFIX=/usr/local
|
PREFIX=/usr/local
|
||||||
|
Loading…
Reference in New Issue
Block a user