8.2. Build the Web Pages from Scratch

Having completed the necessary steps to obtain the website source files, the website can be built. In our example, the build directory is /usr/build and all the required files are already in place.

  1. Change into the build directory:

    # cd /usr/build
  2. The website build starts from the en_US.ISO8859-1/htdocs directory by executing the make(1) all target, to create the web pages.

    # cd en_US.ISO8859-1/htdocs # make all

    Tip:

    The build requires a few files from the Ports Collection and may fail without a properly configured Ports CVS mirror. Set the NOPORTSCVS environment variable as described in Section 8.4, “Environment Variables” to use your local Ports Collection (typically /usr/ports) instead.

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