Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jun 2001 02:41:57 +0200 (CEST)
From:      Christian Weisgerber <naddy@mips.inka.de>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   docs/28306: docbook.css and OBJDIR
Message-ID:  <200106210041.f5L0fva98891@kemoauc.mips.inka.de>

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

>Number:         28306
>Category:       docs
>Synopsis:       docbook.css and OBJDIR
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 20 18:20:02 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 May 14 00:29:21 CEST 2001 root@:/home/obj/usr/src/sys/KEMOAUC alpha

>Description:

Building doc/<lang>/articles fails if OBJDIR (make obj) is used.
doc.docbook.mk attempts to install docbook.css from ${.OBJDIR},
but that file is in the source directory.

Also, doc.docbook.mk lacks a final newline character.

>How-To-Repeat:

>Fix:

--- doc.docbook.mk.orig	Thu Jun 21 02:26:41 2001
+++ doc.docbook.mk	Thu Jun 21 02:26:56 2001
@@ -448,7 +448,7 @@
 install-${_cf}: ${DOC}.${_cf}
 	@[ -d ${DESTDIR} ] || mkdir -p ${DESTDIR}
 	${INSTALL_DOCS} ${.ALLSRC} ${DESTDIR}
-	${INSTALL_DOCS} docbook.css ${DESTDIR}
+	${INSTALL_DOCS} ${.CURDIR}/docbook.css ${DESTDIR}
 .for _curimage in ${IMAGES_LIB}
 	@[ -d ${DESTDIR}/${LOCAL_IMAGES_LIB_DIR}/${_curimage:H} ] || mkdir -p ${DESTDIR}/${LOCAL_IMAGES_LIB_DIR}/${_curimage:H}
 	${INSTALL_DOCS} ${LOCAL_IMAGES_LIB_DIR}/${_curimage} ${DESTDIR}/${LOCAL_IMAGES_LIB_DIR}/${_curimage:H}
@@ -528,4 +528,4 @@
 .endfor
 
 docbook.css:
-	cp ${CSS_SHEET} ${.CURDIR}/docbook.css
+	cp ${CSS_SHEET} ${.CURDIR}/docbook.css
>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?200106210041.f5L0fva98891>