summaryrefslogtreecommitdiffstats
path: root/share/Makefile
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-03-21 09:24:09 +0000
committerobrien <obrien@FreeBSD.org>2000-03-21 09:24:09 +0000
commitd9acd189c2b97e0d82a5dc4bdd6edfae0315c852 (patch)
treebda95b5c2b8e16e52255e379226fa1f1006d520b /share/Makefile
parent111d9e3e61b38044a803c9eb734d89290900c776 (diff)
downloadFreeBSD-src-d9acd189c2b97e0d82a5dc4bdd6edfae0315c852.zip
FreeBSD-src-d9acd189c2b97e0d82a5dc4bdd6edfae0315c852.tar.gz
Add a knob to turn off the mostly static docs (src/share/doc/).
On a K6-2/450 with fairly fast SCSI disks, building+installing src/share/ takes 2m51.3s, where src/share/doc/ is 1m9.9s of that. However on a slow Alpha (233MHz) the times are 7m39.3s and 4m58.3s respectively. This commit allows one to speed up their build time, without not getting any important and required changes if one used "NOSHARE".
Diffstat (limited to 'share/Makefile')
-rw-r--r--share/Makefile6
1 files changed, 5 insertions, 1 deletions
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>
OpenPOWER on IntegriCloud