aboutsummaryrefslogtreecommitdiff
path: root/release/doc/share/mk/doc.relnotes.mk
diff options
context:
space:
mode:
authorDima Dorfman <dd@FreeBSD.org>2001-06-14 23:23:21 +0000
committerDima Dorfman <dd@FreeBSD.org>2001-06-14 23:23:21 +0000
commit19980bc92dfc7eb984091da79851bea707b16a2e (patch)
tree701590f0a7af9a07ba7ac9c6d468c701e9fdc626 /release/doc/share/mk/doc.relnotes.mk
parent773fa867f256a21292b057d180a9fab436c7e6d0 (diff)
downloadsrc-19980bc92dfc7eb984091da79851bea707b16a2e.tar.gz
src-19980bc92dfc7eb984091da79851bea707b16a2e.zip
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".
Notes
Notes: svn path=/head/; revision=78226
Diffstat (limited to 'release/doc/share/mk/doc.relnotes.mk')
-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 8baf92f49c26..0a8e9e68d1f8 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}/}