Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Apr 2001 01:37:14 +0200 (CEST)
From:      Christian Weisgerber <naddy@mips.inka.de>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   docs/26973: doc.images.mk fails for obj build
Message-ID:  <200104292337.f3TNbEa93670@kemoauc.mips.inka.de>

next in thread | raw e-mail | index | archive | help

>Number:         26973
>Category:       docs
>Synopsis:       doc.images.mk fails for obj build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 29 17:40:00 PDT 2001
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




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