From owner-freebsd-doc@FreeBSD.ORG Mon Aug 22 20:30:27 2005 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F2D9416A422 for ; Mon, 22 Aug 2005 20:30:26 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F62F43D55 for ; Mon, 22 Aug 2005 20:30:26 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j7MKUQa6009174 for ; Mon, 22 Aug 2005 20:30:26 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j7MKUQQ6009173; Mon, 22 Aug 2005 20:30:26 GMT (envelope-from gnats) Resent-Date: Mon, 22 Aug 2005 20:30:26 GMT Resent-Message-Id: <200508222030.j7MKUQQ6009173@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Lowell Gilbert Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3908016A41F for ; Mon, 22 Aug 2005 20:29:52 +0000 (GMT) (envelope-from lowell@be-well.ilk.org) Received: from mail28.sea5.speakeasy.net (mail28.sea5.speakeasy.net [69.17.117.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE0F143D49 for ; Mon, 22 Aug 2005 20:29:51 +0000 (GMT) (envelope-from lowell@be-well.ilk.org) Received: (qmail 8981 invoked from network); 22 Aug 2005 20:29:50 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail28.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 22 Aug 2005 20:29:50 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id D3F7D3F3; Mon, 22 Aug 2005 16:29:49 -0400 (EDT) Message-Id: <20050822202949.D3F7D3F3@be-well.ilk.org> Date: Mon, 22 Aug 2005 16:29:49 -0400 (EDT) From: Lowell Gilbert To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: docs/85232: [PATCH] instructions on building web site don't work X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Lowell Gilbert List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Aug 2005 20:30:27 -0000 >Number: 85232 >Category: docs >Synopsis: [PATCH] instructions on building web site don't work >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Mon Aug 22 20:30:25 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Lowell Gilbert >Release: FreeBSD 5.4-STABLE i386 >Organization: Environment: System: FreeBSD be-well.ilk.org 5.4-STABLE FreeBSD 5.4-STABLE #5: Sat Jul 9 11:00:44 EDT 2005 root@be-well.ilk.org:/usr/src/sys/i386/compile/BE-WELL i386 >Description: I ran into some trouble building the website according to the FDP instructions. These changes solve the problem. (Maybe the setting for DESTDIR should be moved to the "environment variables" section, but I wasn't sure.) >How-To-Repeat: builddir=/usr/scratch/lowell/webbuild mkdir -p $builddir cd $builddir || exit 1 if ! cvs -d /usr/scratch/scratch/ncvs -R co www doc ; then exit 1 fi echo cvsup okay cd {$builddir}/www/en || exit 1 ENGLISH_ONLY=yes export ENGLISH_ONLY OPENJADE="yes" export OPENJADE make all || exit echo built okay cd {$builddir}/www/en || exit 1 make DESTDIR=/usr/scratch/scratch/FreeBSD-Web-site install || exit 1 echo installed okay >Fix: --- doc/en_US.ISO8859-1/books/fdp-primer/the-website/chapter.sgml.ORIG Mon Aug 22 15:55:36 2005 +++ doc/en_US.ISO8859-1/books/fdp-primer/the-website/chapter.sgml Mon Aug 22 16:19:20 2005 @@ -87,11 +87,11 @@ Change into the www/en directory, and run the &man.make.1; all target, to create the web pages. - &prompt.root; cd en + &prompt.root; cd www/en &prompt.root; make all @@ -107,13 +107,15 @@ Run the &man.make.1; install target, setting the DESTDIR variable to the name of the - directory you want to install the files to. + directory you want to install the files to. You may need to + set this in the environment rather than on the command line. - &prompt.root; make DESTDIR=/usr/local/www install + &prompt.root; DESTDIR=/usr/local/www; export DESTDIR +&prompt.root; make DESTDIR=/usr/local/www install If you have previously installed the web pages into the same directory the install process will not have deleted any old or >Release-Note: >Audit-Trail: >Unformatted: