Date: Wed, 21 Jan 2009 19:46:44 -0500 From: Chen Xu <xuchen66@gmail.com> To: Gabor PALI <pgj@freebsd.org> Cc: freebsd-doc@freebsd.org Subject: Re: where to define an alternative install location Message-ID: <184b087c0901211646hb8cdc06m87d3bc77c5610f9d@mail.gmail.com> In-Reply-To: <4977AFD5.8010302@FreeBSD.org> References: <184b087c0901211428h124ce3a1o994f9ef61fb0ca68@mail.gmail.com> <4977AFD5.8010302@FreeBSD.org>
index | next in thread | previous in thread | raw e-mail
Hi Gabor, and all,
thanks for the reply. That works nicely.
Certainly, one can even add an entry
DOCDIR=target
in /etc/make.conf for convenience.
When I tried to look inside the doc source dir/share/mk/doc.install.mk
whose name suggests that I can define variable there, variable defined
in that seemed not working at all there. Eventually, I found out that I
had to modify the global file at /usr/share/mk/bsd.own.mk . I felt that this
was very confusing. So yes, if this is mentioned in handbook, that would
be a lot simpler for people who don't know about it yet.
OK, now comes my 2nd annoying but reasonable question.
(how) Can I build my doc in one machine and install on a remote
box running httpd server?
Thanks,
Chen
On Wed, Jan 21, 2009 at 6:29 PM, Gabor PALI <pgj@freebsd.org> wrote:
> Hello Chen,
>
> You wrote:
>> If I want to install the built doc into different location from default
>> /usr/doc, where to define the variable?
>
> Good question! I think you should use the DOCDIR variable in the
> following syntax:
>
> # make DOCDIR=target install clean
>
> where *target* is the absolute path of the target directory.
>
>
> Hope that helps,
> :g
>
>
> PS: I think it is worth to be added to the Handbook... ;)
>
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?184b087c0901211646hb8cdc06m87d3bc77c5610f9d>
