From e63cf746ea92102b21e33546419bc59e764bf68f Mon Sep 17 00:00:00 2001 From: dd Date: Thu, 21 Jun 2001 20:43:43 +0000 Subject: 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)). --- release/doc/en_US.ISO8859-1/errata/Makefile | 1 + release/doc/en_US.ISO8859-1/hardware/Makefile.inc | 3 +++ release/doc/en_US.ISO8859-1/installation/Makefile.inc | 3 +++ release/doc/en_US.ISO8859-1/readme/Makefile | 1 + release/doc/en_US.ISO8859-1/relnotes/Makefile.inc | 3 +++ release/doc/share/mk/doc.relnotes.mk | 6 ------ 6 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 release/doc/en_US.ISO8859-1/hardware/Makefile.inc create mode 100644 release/doc/en_US.ISO8859-1/installation/Makefile.inc create mode 100644 release/doc/en_US.ISO8859-1/relnotes/Makefile.inc (limited to 'release') diff --git a/release/doc/en_US.ISO8859-1/errata/Makefile b/release/doc/en_US.ISO8859-1/errata/Makefile index 87801ca..aaf3e15 100644 --- a/release/doc/en_US.ISO8859-1/errata/Makefile +++ b/release/doc/en_US.ISO8859-1/errata/Makefile @@ -1,6 +1,7 @@ # $FreeBSD$ RELN_ROOT?= ${.CURDIR}/../.. +DESTDIR?= ${DOCDIR}/en_US.ISO8859-1/errata DOC?= article FORMATS?= html diff --git a/release/doc/en_US.ISO8859-1/hardware/Makefile.inc b/release/doc/en_US.ISO8859-1/hardware/Makefile.inc new file mode 100644 index 0000000..f843b3c --- /dev/null +++ b/release/doc/en_US.ISO8859-1/hardware/Makefile.inc @@ -0,0 +1,3 @@ +# $FreeBSD$ + +DESTDIR?= ${DOCDIR}/en_US.ISO8859-1/hardware/${.CURDIR:T} diff --git a/release/doc/en_US.ISO8859-1/installation/Makefile.inc b/release/doc/en_US.ISO8859-1/installation/Makefile.inc new file mode 100644 index 0000000..8e9b3f0 --- /dev/null +++ b/release/doc/en_US.ISO8859-1/installation/Makefile.inc @@ -0,0 +1,3 @@ +# $FreeBSD$ + +DESTDIR?= ${DOCDIR}/en_US.ISO8859-1/installation/${.CURDIR:T} diff --git a/release/doc/en_US.ISO8859-1/readme/Makefile b/release/doc/en_US.ISO8859-1/readme/Makefile index 5dd73b9..998c546 100644 --- a/release/doc/en_US.ISO8859-1/readme/Makefile +++ b/release/doc/en_US.ISO8859-1/readme/Makefile @@ -1,6 +1,7 @@ # $FreeBSD$ RELN_ROOT?= ${.CURDIR}/../.. +DESTDIR?= ${DOCDIR}/en_US.ISO8859-1/readme DOC?= article FORMATS?= html diff --git a/release/doc/en_US.ISO8859-1/relnotes/Makefile.inc b/release/doc/en_US.ISO8859-1/relnotes/Makefile.inc new file mode 100644 index 0000000..8f4dc84 --- /dev/null +++ b/release/doc/en_US.ISO8859-1/relnotes/Makefile.inc @@ -0,0 +1,3 @@ +# $FreeBSD$ + +DESTDIR?= ${DOCDIR}/en_US.ISO8859-1/relnotes/${.CURDIR:T} diff --git a/release/doc/share/mk/doc.relnotes.mk b/release/doc/share/mk/doc.relnotes.mk index 0a8e9e6..f242247 100644 --- a/release/doc/share/mk/doc.relnotes.mk +++ b/release/doc/share/mk/doc.relnotes.mk @@ -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}/} -- cgit v1.1