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:
parent
701192a378
commit
e63cf746ea
@ -1,6 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
RELN_ROOT?= ${.CURDIR}/../..
|
||||
DESTDIR?= ${DOCDIR}/en_US.ISO8859-1/errata
|
||||
|
||||
DOC?= article
|
||||
FORMATS?= html
|
||||
|
3
release/doc/en_US.ISO8859-1/hardware/Makefile.inc
Normal file
3
release/doc/en_US.ISO8859-1/hardware/Makefile.inc
Normal file
@ -0,0 +1,3 @@
|
||||
# $FreeBSD$
|
||||
|
||||
DESTDIR?= ${DOCDIR}/en_US.ISO8859-1/hardware/${.CURDIR:T}
|
3
release/doc/en_US.ISO8859-1/installation/Makefile.inc
Normal file
3
release/doc/en_US.ISO8859-1/installation/Makefile.inc
Normal file
@ -0,0 +1,3 @@
|
||||
# $FreeBSD$
|
||||
|
||||
DESTDIR?= ${DOCDIR}/en_US.ISO8859-1/installation/${.CURDIR:T}
|
@ -1,6 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
RELN_ROOT?= ${.CURDIR}/../..
|
||||
DESTDIR?= ${DOCDIR}/en_US.ISO8859-1/readme
|
||||
|
||||
DOC?= article
|
||||
FORMATS?= html
|
||||
|
3
release/doc/en_US.ISO8859-1/relnotes/Makefile.inc
Normal file
3
release/doc/en_US.ISO8859-1/relnotes/Makefile.inc
Normal file
@ -0,0 +1,3 @@
|
||||
# $FreeBSD$
|
||||
|
||||
DESTDIR?= ${DOCDIR}/en_US.ISO8859-1/relnotes/${.CURDIR:T}
|
@ -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}/}
|
||||
|
Loading…
Reference in New Issue
Block a user