diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2013-12-29 18:14:58 +0100 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2013-12-30 10:24:38 +0100 |
commit | 37a57b1a4004ab89424d8881d0b33b59709e375a (patch) | |
tree | 7d41c9f2977afdf7975682d50b7f1ffa1b730519 | |
parent | c096ad63caba72684010f446ecee87751da78e65 (diff) | |
download | openrc-37a57b1a4004ab89424d8881d0b33b59709e375a.tar.gz openrc-37a57b1a4004ab89424d8881d0b33b59709e375a.tar.bz2 openrc-37a57b1a4004ab89424d8881d0b33b59709e375a.tar.xz |
Give ability to not install some rc directories
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
-rw-r--r-- | Makefile | 42 |
1 files changed, 41 insertions, 1 deletions
@@ -4,7 +4,44 @@ include Makefile.inc -SUBDIR= conf.d etc init.d local.d man scripts sh src sysctl.d +SUBDIR= + +MKCONFD?= yes +ifeq ($(MKCONFD),yes) +SUBDIR+= conf.d +endif + +MKETC?= yes +ifeq ($(MKETC),yes) +SUBDIR+= etc +endif + +MKINITD?= yes +ifeq ($(MKINITD),yes) +SUBDIR+= init.d +endif + +MKLOCALD?= yes +ifeq ($(MKLOCALD),yes) +SUBDIR+= local.d +endif + +MKMAN?= yes +ifeq ($(MKMAN),yes) +SUBDIR+= man +endif + +MKSCRIPTS?= yes +ifeq ($(MKSCRIPTS),yes) +SUBDIR+= scripts +endif + +SUBDIR+= sh src + +MKSYSCTLD?= yes +ifeq ($(MKSYSCTLD),yes) +SUBDIR+= sysctl.d +endif # Build pkgconfig or not MKPKGCONFIG?= yes @@ -13,7 +50,10 @@ SUBDIR+= pkgconfig endif # We need to ensure that runlevels is done last +MKRUNLEVELS?= yes +ifeq ($(MKRUNLEVELS),yes) SUBDIR+= runlevels +endif INSTALLAFTER= _installafter |