Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Sep 2005 16:03:58 +0200
From:      Marc Fonvieille <blackend@freebsd.org>
To:        Yar Tikhiy <yar@comp.chem.msu.su>
Cc:        freebsd-doc@freebsd.org
Subject:   Re: Why such a default for IMAGES_LIB_DIR?
Message-ID:  <20050912140357.GA600@gothic.blackend.org>
In-Reply-To: <20050912094641.GB43737@comp.chem.msu.su>
References:  <20050912094641.GB43737@comp.chem.msu.su>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 12, 2005 at 01:46:41PM +0400, Yar Tikhiy wrote:
> Hi there,
> 
> I found that building documents outside the doc tree requires
> setting, besides DOC_PREFIX and LANGCODE, IMAGES_LIB_DIR in case
> the documents use, say, callout images.  This is because the default
> for IMAGES_LIB_DIR is as follows in doc.images.mk:
> 
>     IMAGES_LIB_DIR?=        ${.CURDIR}/../../../share/images
> 
> Is there a reason for the default not to be ${DOC_PREFIX}/share/images
> instead?  Are there any alternative doc sub-trees, like src/release, that
> use their own images instead of those from the main doc tree, and so they
> benefit from the current default?  Excuse me for the probably lame
> questions...  Thanks.
>

Not sur if it answers to your question but:

If you use

IMAGES = my_image.eps

instead of

IMAGES_EN = my_image.eps

in a document Makefile you can use a "local" image located in the
document directory.

Marc



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