CVSROOT
設定 CVS tree 的位置,此為必備條件。
#
CVSROOT=/home/ncvs; export CVSROOT
ENGLISH_ONLY
如果設定這個環境變數,而且值不為空白, makefiles 將只會建構和安裝英文文件。 所以將會略過其他的各國翻譯。例如:
#
make ENGLISH_ONLY=YES all install
如果你想要取消變數 ENGLISH_ONLY
以及建構所有的頁面並包括翻譯,只要將變數 ENGLISH_ONLY
的值設定成空白即可。
#
make ENGLISH_ONLY="" all install clean
WEB_ONLY
如果有設定這個變數的話, makefiles 將只會從 www 目錄建構及安裝 HTML 頁面。 所有從 doc 目錄下的文件全部都會被忽略 (Handbook, FAQ, Tutorials)。 例如:
#
make WEB_ONLY=YES all install
NOPORTSCVS
如果設了這個變數,makefiles 就不會從 ports cvs repository
取出檔案。 取而代之會從
/usr/ports
(或是 PORTSBASE
所設定的值) 內複製檔案。
CVSROOT
是環境變數。
你必須直接使用指令或是在 dot files (如: ~/.profile) 中
設定這個環境變數。
WEB_ONLY
、ENGLISH_ONLY
及
NOPORTSCVS
都是 makefile 變數。
你可以在 /etc/make.conf
、Makefile.inc
中設定這些變數,作法就像是用命令列或使用 dot files 來設定環境變數一般。
All FreeBSD documents are available for download at http://ftp.FreeBSD.org/pub/FreeBSD/doc/
Questions that are not answered by the
documentation may be
sent to <freebsd-questions@FreeBSD.org>.
Send questions about this document to <freebsd-doc@FreeBSD.org>.