summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/defaults/make.conf1
-rw-r--r--share/Makefile6
-rw-r--r--share/examples/etc/make.conf1
3 files changed, 7 insertions, 1 deletions
diff --git a/etc/defaults/make.conf b/etc/defaults/make.conf
index 48135de..b7e6c22 100644
--- a/etc/defaults/make.conf
+++ b/etc/defaults/make.conf
@@ -36,6 +36,7 @@
#NO_OPENSSH= true # do not build OpenSSH
#NO_OPENSSL= true # do not build OpenSSL (implies NO_OPENSSH)
#NO_SENDMAIL= true # do not build sendmail and related programs
+#NO_SHAREDOCS= true # do not build the 4.4BSD legacy docs
#NO_X= true # do not compile in XWindows support (e.g. doscmd)
#NOCRYPT= true # do not build any crypto code
#NODESCRYPTLINKS=true # do not replace libcrypt -> libscrypt links
diff --git a/share/Makefile b/share/Makefile
index fa7c5f9..4c5d5e7 100644
--- a/share/Makefile
+++ b/share/Makefile
@@ -3,7 +3,11 @@
# Do not include `info' in the SUBDIR list, it is handled separately.
-SUBDIR= colldef dict doc examples isdn man me misc mk mklocale skel \
+SUBDIR= colldef dict examples isdn man me misc mk mklocale skel \
syscons tabset termcap timedef zoneinfo
+.if !defined(NO_SHAREDOCS)
+SUBDIR+= doc
+.endif
+
.include <bsd.subdir.mk>
diff --git a/share/examples/etc/make.conf b/share/examples/etc/make.conf
index 48135de..b7e6c22 100644
--- a/share/examples/etc/make.conf
+++ b/share/examples/etc/make.conf
@@ -36,6 +36,7 @@
#NO_OPENSSH= true # do not build OpenSSH
#NO_OPENSSL= true # do not build OpenSSL (implies NO_OPENSSH)
#NO_SENDMAIL= true # do not build sendmail and related programs
+#NO_SHAREDOCS= true # do not build the 4.4BSD legacy docs
#NO_X= true # do not compile in XWindows support (e.g. doscmd)
#NOCRYPT= true # do not build any crypto code
#NODESCRYPTLINKS=true # do not replace libcrypt -> libscrypt links
OpenPOWER on IntegriCloud