aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2009-04-17 23:23:31 +0000
committerRoy Marples <roy@marples.name>2009-04-17 23:23:31 +0000
commitd4c71415a9514c3d478e6ed110cba72a0d80a378 (patch)
tree5d6717bb898b847f69d533e10b18d22f1e3d2ef9 /Makefile
parentee54bb937261b17c6767868607e95b2c560bd4b1 (diff)
Add MKOLDNET=yes/no toggle
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 17e844e0..b4635a57 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,17 @@ NAME= openrc
VERSION= 0.4.3
PKG= ${NAME}-${VERSION}
-SUBDIR= conf.d doc etc init.d man net sh src
+SUBDIR= conf.d etc init.d man sh src
+
+# Build our old net foo or not
+MKOLDNET?= yes
+_OLDNET_SH= case "${MKOLDNET}" in \
+ [Yy][Ee][Ss]) echo "net doc";; \
+ *) echo "";; \
+ esac
+_OLDNET!= ${_OLDNET_SH}
+SUBDIR+= ${_OLDNET}$(shell ${_OLDNET_SH})
+
# We need to ensure that runlevels is done last
SUBDIR+= runlevels