From d34b3502ad12b69439843df522400aadc677f077 Mon Sep 17 00:00:00 2001
From: dd
Date: Thu, 14 Jun 2001 23:23:21 +0000
Subject: 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".
---
release/doc/share/mk/doc.relnotes.mk | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
(limited to 'release')
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}/}
--
cgit v1.1