From 52957bbfd895d7983ce8fdf484cb48795d785722 Mon Sep 17 00:00:00 2001 From: "Bruce A. Mah" Date: Sun, 20 Mar 2005 17:59:17 +0000 Subject: [PATCH] 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. --- release/Makefile | 2 +- release/doc/share/examples/Makefile.relnotesng | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/release/Makefile b/release/Makefile index 2e45e59cb801..7f88d4f5fdc1 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 99897078edb2..33ec19c85113 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)