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

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 12, 2005 at 04:03:58PM +0200, Marc Fonvieille wrote:
> On Mon, Sep 12, 2005 at 01:46:41PM +0400, Yar Tikhiy wrote:
> > 
> > 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.

This is not exactly my case.  My document (an article I'm writing)
uses images from the image library, which is the part of our doc/
tree:

IMAGES_LIB+=    callouts/1.png
IMAGES_LIB+=    callouts/2.png
IMAGES_LIB+=    callouts/3.png
...

-- 
Yar



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