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".
This commit is contained in:
David E. O'Brien 2000-03-21 09:24:09 +00:00
parent e5a28db9f5
commit f555eeb897
3 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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>

View File

@ -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