summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2001-06-14 23:23:21 +0000
committerdd <dd@FreeBSD.org>2001-06-14 23:23:21 +0000
commitd34b3502ad12b69439843df522400aadc677f077 (patch)
tree701590f0a7af9a07ba7ac9c6d468c701e9fdc626 /release
parentdda6ce315dec3811c03c9f4cec45d3c7b175c912 (diff)
downloadFreeBSD-src-d34b3502ad12b69439843df522400aadc677f077.zip
FreeBSD-src-d34b3502ad12b69439843df522400aadc677f077.tar.gz
Don't hardcode in "/release/doc/"; instead, make it the default of a
new RELN_ANCHOR variable. It may be necessary to override this if the path to the checked out release notes tree doesn't end with "release/doc".
Diffstat (limited to 'release')
-rw-r--r--release/doc/share/mk/doc.relnotes.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/release/doc/share/mk/doc.relnotes.mk b/release/doc/share/mk/doc.relnotes.mk
index 8baf92f..0a8e9e6 100644
--- a/release/doc/share/mk/doc.relnotes.mk
+++ b/release/doc/share/mk/doc.relnotes.mk
@@ -9,5 +9,8 @@ EXTRA_CATALOGS+= ${RELN_ROOT}/share/sgml/catalog
DSLHTML?= ${RELN_ROOT}/en_US.ISO8859-1/share/sgml/release.dsl
DSLPRINT?= ${RELN_ROOT}/en_US.ISO8859-1/share/sgml/release.dsl
-# XXX using /release/doc as anchor!
-DESTDIR?= ${DOCDIR}/${.CURDIR:C/^.*\/release\/doc//}
+# XXX It may be possible to get this right just about all of the time
+# using ${RELN_ROOT}; "/release/doc" is just something that (I think)
+# covers the majority of the cases.
+RELN_ANCHOR?= /release/doc/
+DESTDIR?= ${DOCDIR}/${.CURDIR:C/^.*${RELN_ANCHOR}/}
OpenPOWER on IntegriCloud