svn commit: r53527 - head/en_US.ISO8859-1/books/fdp-primer/the-website

Benedict Reuschling bcr at FreeBSD.org
Sun Nov 3 18:51:40 UTC 2019


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


More information about the svn-doc-head mailing list