summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorbmah <bmah@FreeBSD.org>2005-03-20 17:59:17 +0000
committerbmah <bmah@FreeBSD.org>2005-03-20 17:59:17 +0000
commitee2d4fb50ed8382337e4fee944f7924ecb252669 (patch)
tree1512192e5223355a780fb88c0c14e6659e37c405 /release
parent1ffec0c271bc669f20f01191a2a697c9b328557e (diff)
downloadFreeBSD-src-ee2d4fb50ed8382337e4fee944f7924ecb252669.zip
FreeBSD-src-ee2d4fb50ed8382337e4fee944f7924ecb252669.tar.gz
When building release documentation for release builds or for
release documentation snapshots, force URLS_ABSOLUTE. This allows us to relocate HTML renderings anywhere without worrying about breaking relative links to pages on the Web site. This can happen when we use &base; as part of a URL. I wonder if we should do this for all release documentation builds, but I'm not quite sure what all the cases are.
Diffstat (limited to 'release')
-rw-r--r--release/Makefile2
-rw-r--r--release/doc/share/examples/Makefile.relnotesng2
2 files changed, 2 insertions, 2 deletions
diff --git a/release/Makefile b/release/Makefile
index 2e45e59..7f88d4f 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -1014,7 +1014,7 @@ doc.1:
doc.2:
@echo "Making release documentation..."
@cd ${.CURDIR}/doc && make all install clean 'FORMATS=html txt' \
- INSTALL_COMPRESSED='' DOCDIR=${RND}
+ INSTALL_COMPRESSED='' URLS_ABSOLUTE=YES DOCDIR=${RND}
touch ${.TARGET}
# Various "subroutine" and other supporting targets.
diff --git a/release/doc/share/examples/Makefile.relnotesng b/release/doc/share/examples/Makefile.relnotesng
index 9989707..33ec19c 100644
--- a/release/doc/share/examples/Makefile.relnotesng
+++ b/release/doc/share/examples/Makefile.relnotesng
@@ -20,7 +20,7 @@ DOC_PREFIX?= /usr/doc
CSS_SHEET?= ${DOC_PREFIX}/share/misc/docbook.css
FORMATS?= html txt pdf
-BUILD_OPTIONS?=
+BUILD_OPTIONS+= URLS_ABSOLUTE=YES
all:
(cd ${DOCDIR}; ${MAKE} DOC_PREFIX=${DOC_PREFIX} FORMATS="${FORMATS}" ${BUILD_OPTIONS} all)
OpenPOWER on IntegriCloud