8.4 Environment Variables

CVSROOT

Location of the CVS tree. We suggest you set this variable, if you use the CVSup method:

# CVSROOT=/usr/dcvs; export CVSROOT

CVSROOT is an environment variable. You must set it on the command line or in your dot files (e.g., ~/.profile). The exact syntax will differ depending on your shell (the above example is for bash and bash-like shells).

ENGLISH_ONLY

If set and not empty, the makefiles will build and install only the English documents. All translations will be ignored. E.g.:

# make ENGLISH_ONLY=YES all install

If you want to unset the variable ENGLISH_ONLY and build all pages, including translations, set the variable ENGLISH_ONLY to an empty value:

# make ENGLISH_ONLY="" all install clean
WEB_ONLY

If set and not empty, the Makefiles will build and install only the HTML pages from the www directory. All documents from the doc directory (Handbook, FAQ, Tutorials) will be ignored. E.g.:

# make WEB_ONLY=YES all install
WEB_LANG

If set, the Makefiles will build and install only for the languages specified by this variable inside the www directory. All other languages except English will be ignored. E.g.:

# make WEB_LANG="el es hu nl" all install
NOPORTSCVS

If set, the Makefiles will not checkout files from the ports CVS repository. Instead, it will copy the files from /usr/ports (or where the variable PORTSBASE points to).

WEB_ONLY, WEB_LANG, ENGLISH_ONLY and NOPORTSCVS are make variables. You can set the variables in /etc/make.conf, Makefile.inc, as environment variables on the command line, or in your dot files.

This, and other documents, can be downloaded from ftp://ftp.FreeBSD.org/pub/FreeBSD/doc/.

For questions about FreeBSD, read the documentation before contacting <questions@FreeBSD.org>.
For questions about this documentation, e-mail <doc@FreeBSD.org>.