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 /usr/build/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.

    # env DESTDIR=/usr/local/www make 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