From owner-freebsd-doc@FreeBSD.ORG Mon Sep 12 14:04:23 2005 Return-Path: X-Original-To: freebsd-doc@freebsd.org Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B9BA16A41F for ; Mon, 12 Sep 2005 14:04:23 +0000 (GMT) (envelope-from marc@blackend.org) Received: from abigail.blackend.org (blackend.org [212.11.35.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 764D243D45 for ; Mon, 12 Sep 2005 14:04:21 +0000 (GMT) (envelope-from marc@blackend.org) Received: from gothic.blackend.org (gothic.blackend.org [192.168.1.203]) by abigail.blackend.org (8.13.3/8.13.3) with ESMTP id j8CE43iX091921; Mon, 12 Sep 2005 16:04:03 +0200 (CEST) (envelope-from marc@abigail.blackend.org) Received: from gothic.blackend.org (localhost.blackend.org [127.0.0.1]) by gothic.blackend.org (8.13.3/8.13.3) with ESMTP id j8CE43Cr000641; Mon, 12 Sep 2005 16:04:03 +0200 (CEST) (envelope-from marc@gothic.blackend.org) Received: (from marc@localhost) by gothic.blackend.org (8.13.3/8.13.3/Submit) id j8CE3wWr000640; Mon, 12 Sep 2005 16:03:58 +0200 (CEST) (envelope-from marc) Date: Mon, 12 Sep 2005 16:03:58 +0200 From: Marc Fonvieille To: Yar Tikhiy Message-ID: <20050912140357.GA600@gothic.blackend.org> Mail-Followup-To: Yar Tikhiy , freebsd-doc@freebsd.org References: <20050912094641.GB43737@comp.chem.msu.su> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050912094641.GB43737@comp.chem.msu.su> X-Useless-Header: blackend.org X-Operating-System: FreeBSD 5.4-STABLE User-Agent: Mutt/1.5.9i Cc: freebsd-doc@freebsd.org Subject: Re: Why such a default for IMAGES_LIB_DIR? X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2005 14:04:23 -0000 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