aboutsummaryrefslogtreecommitdiff
path: root/share/Makefile
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2000-03-21 09:24:09 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2000-03-21 09:24:09 +0000
commitf555eeb897c47787936b2a1b3179a3f9f3a85b77 (patch)
tree7ea9d9f27358c571be542a29306545c8ea8f3870 /share/Makefile
parente5a28db9f5cf277bb187a71b6d370ef5af7bb395 (diff)
downloadsrc-f555eeb897c47787936b2a1b3179a3f9f3a85b77.tar.gz
src-f555eeb897c47787936b2a1b3179a3f9f3a85b77.zip
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".
Notes
Notes: svn path=/head/; revision=58418
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 fa7c5f9048fa..4c5d5e7e79bc 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>