Why such a default for IMAGES_LIB_DIR?
Yar Tikhiy
yar at comp.chem.msu.su
Mon Sep 12 14:42:24 UTC 2005
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
More information about the freebsd-doc
mailing list