FreeBSD Documentation Project Primer for New Contributors
Prev | Chapter 8 The Website | Next

# 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 to use your local Ports Collection (typically `/usr/ports`) instead.

Prev | Home | Next
The Website | Up | Install the Web Pages into Your Web Server