From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-988832-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A5663139083 for <garchives@archives.gentoo.org>; Thu, 7 Dec 2017 18:53:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B4E24E0F6C; Thu, 7 Dec 2017 18:53:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 93B66E0F6C for <gentoo-commits@lists.gentoo.org>; Thu, 7 Dec 2017 18:53:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A17F133BEBE for <gentoo-commits@lists.gentoo.org>; Thu, 7 Dec 2017 18:53:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1A23CAD74 for <gentoo-commits@lists.gentoo.org>; Thu, 7 Dec 2017 18:53:50 +0000 (UTC) From: "William Hubbs" <williamh@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" <williamh@gentoo.org> Message-ID: <1512672784.fb96c9c127dcfa932460b0e8a977ba5f7d26a418.williamh@OpenRC> Subject: [gentoo-commits] proj/openrc:master commit in: / X-VCS-Repository: proj/openrc X-VCS-Files: Makefile README.md X-VCS-Directories: / X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: fb96c9c127dcfa932460b0e8a977ba5f7d26a418 X-VCS-Branch: master Date: Thu, 7 Dec 2017 18:53:50 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 81a2bfb5-a3c4-490e-b70b-c0c4cf298a88 X-Archives-Hash: 5096cfaa01993ad41852d15a2064e8f4 commit: fb96c9c127dcfa932460b0e8a977ba5f7d26a418 Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com> AuthorDate: Thu Dec 7 18:53:04 2017 +0000 Commit: William Hubbs <williamh <AT> gentoo <DOT> org> CommitDate: Thu Dec 7 18:53:04 2017 +0000 URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=fb96c9c1 Make bash-completion and zsh-completion optional Makefile | 15 +++++++++++++-- README.md | 2 ++ 2 files changed, 15 insertions(+), 2 deletions(-) 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 diff --git a/README.md b/README.md index 54f8f8f8..3f3da79c 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,7 @@ below arguments to the make command PROGLDFLAGS=-static LIBNAME=lib64 DESTDIR=/tmp/openrc-image +MKBASHCOMP=no MKNET=no MKPAM=pam MKPREFIX=yes @@ -31,6 +32,7 @@ MKSTATICLIBS=no MKSYSVINIT=yes MKTERMCAP=ncurses MKTERMCAP=termcap +MKZSHCOMP=no PKG_PREFIX=/usr/pkg LOCAL_PREFIX=/usr/local PREFIX=/usr/local