Change the way the value of DESTDIR is determined for the release

notes build. Instead of having doc.relnotes.mk make a guess, hardcode
quite a bit (but as little as possible) in Makefile.inc's sprinkled
strategicly throughout the tree.  This has the advantage of actually
working properly (which is a Good Thing(tm)), and the disadvantages of
more files in the repository and more hardcoded paths (which are both
Bad Things(tm)).
This commit is contained in:
dd 2001-06-21 20:43:43 +00:00
parent 701192a378
commit e63cf746ea
6 changed files with 11 additions and 6 deletions

View File

@ -1,6 +1,7 @@
# $FreeBSD$
RELN_ROOT?= ${.CURDIR}/../..
DESTDIR?= ${DOCDIR}/en_US.ISO8859-1/errata
DOC?= article
FORMATS?= html

View File

@ -0,0 +1,3 @@
# $FreeBSD$
DESTDIR?= ${DOCDIR}/en_US.ISO8859-1/hardware/${.CURDIR:T}

View File

@ -0,0 +1,3 @@
# $FreeBSD$
DESTDIR?= ${DOCDIR}/en_US.ISO8859-1/installation/${.CURDIR:T}

View File

@ -1,6 +1,7 @@
# $FreeBSD$
RELN_ROOT?= ${.CURDIR}/../..
DESTDIR?= ${DOCDIR}/en_US.ISO8859-1/readme
DOC?= article
FORMATS?= html

View File

@ -0,0 +1,3 @@
# $FreeBSD$
DESTDIR?= ${DOCDIR}/en_US.ISO8859-1/relnotes/${.CURDIR:T}

View File

@ -8,9 +8,3 @@ EXTRA_CATALOGS+= ${RELN_ROOT}/share/sgml/catalog
# Use the appropriate architecture-dependent RELNOTESng stylesheet
DSLHTML?= ${RELN_ROOT}/en_US.ISO8859-1/share/sgml/release.dsl
DSLPRINT?= ${RELN_ROOT}/en_US.ISO8859-1/share/sgml/release.dsl
# 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}/}