Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Nov 2019 18:51:40 +0000 (UTC)
From:      Benedict Reuschling <bcr@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r53527 - head/en_US.ISO8859-1/books/fdp-primer/the-website
Message-ID:  <201911031851.xA3Ipe3l091779@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bcr
Date: Sun Nov  3 18:51:39 2019
New Revision: 53527
URL: https://svnweb.freebsd.org/changeset/doc/53527

Log:
  The example in section 6.2 uses DESTDIR to define where the
  website build should end up in.  However, it does not work
  with DESTDIR, but with DOCDIR. Change the example and
  description to use DOCDIR.
  
  PR:		241676
  Submitted by:	pauamma@gundo.com

Modified:
  head/en_US.ISO8859-1/books/fdp-primer/the-website/chapter.xml

Modified: head/en_US.ISO8859-1/books/fdp-primer/the-website/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/fdp-primer/the-website/chapter.xml	Sun Nov  3 11:06:00 2019	(r53526)
+++ head/en_US.ISO8859-1/books/fdp-primer/the-website/chapter.xml	Sun Nov  3 18:51:39 2019	(r53527)
@@ -57,11 +57,11 @@
     </tip>
 
     <variablelist>
-      <varlistentry xml:id="the-website-env-destdir">
-	<term><varname>DESTDIR</varname></term>
+      <varlistentry xml:id="the-website-env-docdir">
+	<term><varname>DOCDIR</varname></term>
 
 	<listitem>
-	  <para>DESTDIR specifies the path where the web site files
+	  <para>DOCDIR specifies the path where the web site files
 	    are to be installed.</para>
 
 	  <para>This variable is best set with &man.env.1; or the user
@@ -171,7 +171,7 @@
 	testing:</para>
 
       <screen>&prompt.user; <userinput>cd ~/doc/en_US.ISO8859-1/htdocs/</userinput>
-&prompt.user; <userinput>env DESTDIR=/tmp/www make ENGLISH_ONLY=yes WEB_ONLY=yes all install</userinput></screen>
+&prompt.user; <userinput>env DOCDIR=/tmp/www make ENGLISH_ONLY=yes WEB_ONLY=yes all install</userinput></screen>
 
       <para>Changes to static files can usually be tested by viewing
 	the modified files directly with a web browser.  If the site



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911031851.xA3Ipe3l091779>