summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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