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".
This commit is contained in:
Dima Dorfman 2001-06-14 23:23:21 +00:00
parent 773fa867f2
commit 19980bc92d

View File

@ -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}/}