Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Feb 2013 23:58:13 -0800
From:      Craig Rodrigues <rodrigc@FreeBSD.org>
To:        Giorgos Keramidas <keramida@freebsd.org>
Cc:        freebsd-doc@freebsd.org
Subject:   Re: How to build FreeBSD doc web pages?
Message-ID:  <CAG=rPVefJvSzr5Bj8Us%2BXOmAB3ChBjjTLdsw--JEf%2B8=Qk_XLw@mail.gmail.com>
In-Reply-To: <20130224233011.GA32317@saturn>
References:  <CAG=rPVcM1=mL8qUOTAD3n4mkx9qsgM91GmF11_LYRVPu%2BevPPg@mail.gmail.com> <20130224233011.GA32317@saturn>

next in thread | previous in thread | raw e-mail | index | archive | help
--e0cb4efe2dbe24cbbb04d687e700
Content-Type: text/plain; charset=ISO-8859-1

On Sun, Feb 24, 2013 at 3:30 PM, Giorgos Keramidas <keramida@freebsd.org>wrote:

> On 2013-02-24 13:35, Craig Rodrigues <rodrigc@FreeBSD.org> wrote:
>
> 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.
>


Ah OK, thanks for the tip.
Also looking at Glen Barber's script ~gjb/bin/docbuild.sh helped
me understand a lot.  Would it be appropriate to add an
example to the fdp primer such as the one below?

That would have improved my understanding of how to do this.

It looks like this:

http://people.freebsd.org/~rodrigc/doc2/doc/en_US.ISO8859-1/books/fdp-primer/the-website-install.html

--
Craig

--e0cb4efe2dbe24cbbb04d687e700
Content-Type: text/plain; charset=US-ASCII; name="diff.txt"
Content-Disposition: attachment; filename="diff.txt"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