From naddy@mips.inka.de  Sun Apr 29 17:30:52 2001
Return-Path: <naddy@mips.inka.de>
Received: from mail.inka.de (quechua.inka.de [212.227.14.2])
	by hub.freebsd.org (Postfix) with ESMTP id 5E02237B43C
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 29 Apr 2001 17:30:51 -0700 (PDT)
	(envelope-from naddy@mips.inka.de)
Received: from kemoauc.mips.inka.de (uucp@)
	by mail.inka.de with local-bsmtp 
	id 14u1aU-0001Xp-00; Mon, 30 Apr 2001 02:30:50 +0200
Received: (from naddy@localhost)
	by kemoauc.mips.inka.de (8.11.3/8.11.1) id f3TNbEa93670;
	Mon, 30 Apr 2001 01:37:14 +0200 (CEST)
	(envelope-from naddy)
Message-Id: <200104292337.f3TNbEa93670@kemoauc.mips.inka.de>
Date: Mon, 30 Apr 2001 01:37:14 +0200 (CEST)
From: Christian Weisgerber <naddy@mips.inka.de>
Reply-To: naddy@mips.inka.de
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: doc.images.mk fails for obj build
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         26973
>Category:       docs
>Synopsis:       doc.images.mk fails for obj build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 29 17:40:00 PDT 2001
>Closed-Date:    Sun May 13 09:27:15 PDT 2001
>Last-Modified:  Sun May 13 09:27:25 PDT 2001
>Originator:     Christian Weisgerber
>Release:        FreeBSD 5.0-CURRENT alpha
>Organization:
>Environment:
System: FreeBSD kemoauc.mips.inka.de 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Mon Apr 23 09:46:06 CEST 2001 naddy@kemoauc.mips.inka.de:/home/obj/usr/src/sys/KEMOAUC alpha
	
>Description:

doc.images.mk doesn't handle builds that use a separate obj directory.
Specifically, eps2png creates its output file in the directory of
the source file, not in ${.OBJDIR}.  Adding "-ouput ${.TARGET}"
fixes this.

>How-To-Repeat:

cd /usr/doc && make obj && make && sudo make install

>Fix:

--- doc.images.mk.orig	Mon Apr 30 01:25:07 2001
+++ doc.images.mk	Mon Apr 30 01:25:26 2001
@@ -68,7 +68,7 @@
 
 .for _curimage in ${IMAGES_GEN_PNG}
 ${_curimage}: ${_curimage:S/.png$/.eps/}
-	eps2png ${.ALLSRC}
+	eps2png -output ${.TARGET} ${.ALLSRC}
 .endfor
 
 .for _curimage in ${IMAGES_GEN_EPS}
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: nik 
State-Changed-When: Sun May 13 09:27:15 PDT 2001 
State-Changed-Why:  
Committed, thanks. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=26973 
>Unformatted:
