Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Sep 1999 00:44:58 +0900
From:      Jun Kuriyama <kuriyama@sky.rim.or.jp>
To:        Nik Clayton <nik@freebsd.org>
Cc:        Documentation Team <freebsd-doc@freebsd.org>
Subject:   ${PREFIX} in doc/share/mk/doc.*.mk
Message-ID:  <14291.57722.864221.81928B@localhost.sky.rim.or.jp>

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

Usually, ${PREFIX} is used target directory for *each* port in Ports
Collection.  If you want to point "jade" location, you should use
${LOCALBASE} in Ports.

If Documentation Project doesn't depend on X program, I'd like to
suggest patches below.


-----
Index: doc.docbook.mk
===================================================================
RCS file: /home/ncvs/doc/share/mk/doc.docbook.mk,v
retrieving revision 1.1
diff -u -r1.1 doc.docbook.mk
--- doc.docbook.mk	1999/09/03 17:07:18	1.1
+++ doc.docbook.mk	1999/09/06 15:15:21
@@ -45,15 +45,15 @@
 
 MASTERDOC?=	${.CURDIR}/${DOC}.sgml
 
-JADE=		${PREFIX}/bin/jade
+JADE=		${LOCALBASE}/bin/jade
 
 DSLHTML=	${DOC_PREFIX}/share/sgml/freebsd.dsl
 DSLPRINT=	${DOC_PREFIX}/share/sgml/freebsd.dsl
 FREEBSDCATALOG=	${DOC_PREFIX}/share/sgml/catalog
 
-DOCBOOKCATALOG=	${PREFIX}/share/sgml/docbook/catalog
-JADECATALOG=	${PREFIX}/share/sgml/jade/catalog
-DSSSLCATALOG=	${PREFIX}/share/sgml/docbook/dsssl/modular/catalog
+DOCBOOKCATALOG=	${LOCALBASE}/share/sgml/docbook/catalog
+JADECATALOG=	${LOCALBASE}/share/sgml/jade/catalog
+DSSSLCATALOG=	${LOCALBASE}/share/sgml/docbook/dsssl/modular/catalog
 
 JADEOPTS=	${JADEFLAGS} -c ${FREEBSDCATALOG} -c ${DSSSLCATALOG} -c ${DOCBOOKCATALOG} -c ${JADECATALOG} ${EXTRA_CATALOGS:S/^/-c /g}
 
Index: doc.project.mk
===================================================================
RCS file: /home/ncvs/doc/share/mk/doc.project.mk,v
retrieving revision 1.1
diff -u -r1.1 doc.project.mk
--- doc.project.mk	1999/09/03 17:07:18	1.1
+++ doc.project.mk	1999/09/06 15:16:24
@@ -27,7 +27,7 @@
 #
 # User-modifiable variables:
 #
-#	PREFIX		Standard path to document-building applications
+#	LOCALBASE	Standard path to document-building applications
 #			installed to serve the documentation build
 #			process, usually by installing the docproj port
 #			or package.  Default is /usr/local
@@ -59,7 +59,7 @@
 MAINTAINER?=	doc@FreeBSD.org
 
 # User-modifiable
-PREFIX?=	/usr/local
+LOCALBASE?=	/usr/local
 PRI_LANG?=	en_US.ISO_8859-1
 
 # Format-specific configuration
-----

Jun Kuriyama // kuriyama@sky.rim.or.jp
            // kuriyama@FreeBSD.ORG


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?14291.57722.864221.81928B>