aboutsummaryrefslogtreecommitdiff
path: root/en_US.ISO8859-1/books/handbook/Makefile
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2004-07-06 15:09:55 +0000
committerHiroki Sato <hrs@FreeBSD.org>2004-07-06 15:09:55 +0000
commit84f8ee0a1515e36b3e99867a7c9f8de0b3c6cd99 (patch)
tree26684ccedc9e4741cc661b0da95e9cacf8a0b5ab /en_US.ISO8859-1/books/handbook/Makefile
parent59859e64cbf41a96b6285aa6a432d0a71e6b7f93 (diff)
downloaddoc-84f8ee0a1515e36b3e99867a7c9f8de0b3c6cd99.tar.gz
doc-84f8ee0a1515e36b3e99867a7c9f8de0b3c6cd99.zip
Use relative URLs when URL_RELPREFIX is defined and URLS_ABSOLUTE
is not defined. - URL_RELPREFIX must always point the top page's URL (http://www.FreeBSD.org) in relative form, defined in Makefile. - &url.base; can be used in doc/<langcode>/*. It will be replaced with the real URL which points the top page. For translators: Please make sure to define URL_RELPREFIX to point the top page. The localized docs have different directory hierarchy in its URL from the English version. Tested by: den
Notes
Notes: svn path=/head/; revision=21373
Diffstat (limited to 'en_US.ISO8859-1/books/handbook/Makefile')
-rw-r--r--en_US.ISO8859-1/books/handbook/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/en_US.ISO8859-1/books/handbook/Makefile b/en_US.ISO8859-1/books/handbook/Makefile
index 3c05afe442..8c074385d8 100644
--- a/en_US.ISO8859-1/books/handbook/Makefile
+++ b/en_US.ISO8859-1/books/handbook/Makefile
@@ -214,8 +214,6 @@ pgpkeyring: pgpkeys/chapter.sgml
JADEFLAGS+= -V withpgpkeys
.endif
-DOC_PREFIX?= ${.CURDIR}/../../..
-
.for p in ftp cvsup
SRCS+= mirrors.sgml.${p}.inc
CLEANFILES+= mirrors.sgml.${p}.inc
@@ -226,6 +224,9 @@ SRCS+= eresources.sgml.www.inc
CLEANFILES+= eresources.sgml.www.inc
CLEANFILES+= eresources.sgml.www.inc.tmp
+URL_RELPREFIX?= ../../../..
+DOC_PREFIX?= ${.CURDIR}/../../..
+
.include "${DOC_PREFIX}/share/mk/doc.project.mk"
.for p in ftp cvsup