Date: Mon, 25 Feb 2013 00:30:13 +0100 From: Giorgos Keramidas <keramida@FreeBSD.org> To: Craig Rodrigues <rodrigc@FreeBSD.org> Cc: freebsd-doc@freebsd.org Subject: Re: How to build FreeBSD doc web pages? Message-ID: <20130224233011.GA32317@saturn> In-Reply-To: <CAG=rPVcM1=mL8qUOTAD3n4mkx9qsgM91GmF11_LYRVPu%2BevPPg@mail.gmail.com> References: <CAG=rPVcM1=mL8qUOTAD3n4mkx9qsgM91GmF11_LYRVPu%2BevPPg@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On 2013-02-24 13:35, Craig Rodrigues <rodrigc@FreeBSD.org> wrote: > Hi, > > I am trying to fix some text in the FreeBSD docs, > and am trying to build the FreeBSD docs and web pages > so I can view the output HTML as I am fixing things. > > What is the correct procedure to do this? > > I am trying to follow these instructions: > > http://www.freebsd.org/doc/en/books/fdp-primer/the-website-build.html > > but those instructions didn't quite do what I wanted, i.e. > they did not build all the books (such as handbook) and articles. > > On Freefall, I did this: > > mkdir -p ~rodrigc/public_html/doc2 > mkdir -p ~rodrigc/public_html/doc1 > cd ~rodrigc/public_html/doc2 > svn co svn://svn.freebsd.org/doc/head doc > cd ~rodrigc/public_html/doc2/doc/en_US.ISO8859-1 > make install DOCDIR=$HOME/public_html/doc1/doc The makefile glue for building the website assumes that DESTDIR is also set to something. Try installing with: cd ~rodrigc/public_html/doc2/doc cd en_US.ISO8859-1/htdocs env DESTDIR="$HOME/public_html/doc1" \ make install Setting DESTDIR during 'make install' for htdocs/ will automatically also set DOCDIR to $DESTDIR/data/doc so you don't have to specify it too. To speed up checks for the 'make install' run, it may also be useful to set ENLISH_ONLY=yes, so you skip all the translations at first. What you did ended up installing the Handbook's index.html over the doc/en_US.ISO8859-1/htdocs/index.xsl output. [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAlEqooMACgkQ1g+UGjGGA7b73wCgtJXazNbT1PKmSWjBqdyPKF8j WegAn3zBYZqTloGF0VcRnx3Yw/T8eZc5 =ra+5 -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130224233011.GA32317>
