8.3 Install the web pages into your web server

  1. If you have moved out of the en directory, change back to it.

    # cd path/www/en
    
  2. Run the make(1) install target, setting the DESTDIR variable to the name of the directory you want to install the files to.

    # make DESTDIR=/usr/local/www install
    
  3. If you have previously installed the web pages into the same directory the install process will not have deleted any old or outdated pages. For example, if you build and install a new copy of the site every day, this command will find and delete all files that have not been updated in three days.

    # find /usr/local/www -ctime 3 -print0 | xargs -0 rm
    

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