summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2001-06-21 20:43:43 +0000
committerdd <dd@FreeBSD.org>2001-06-21 20:43:43 +0000
commite63cf746ea92102b21e33546419bc59e764bf68f (patch)
tree43485475b169bac86abf28f751b38dce0b8be70e /release
parent701192a378e1ae28850ddacf3396545ba7e635dd (diff)
downloadFreeBSD-src-e63cf746ea92102b21e33546419bc59e764bf68f.zip
FreeBSD-src-e63cf746ea92102b21e33546419bc59e764bf68f.tar.gz
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)).
Diffstat (limited to 'release')
-rw-r--r--release/doc/en_US.ISO8859-1/errata/Makefile1
-rw-r--r--release/doc/en_US.ISO8859-1/hardware/Makefile.inc3
-rw-r--r--release/doc/en_US.ISO8859-1/installation/Makefile.inc3
-rw-r--r--release/doc/en_US.ISO8859-1/readme/Makefile1
-rw-r--r--release/doc/en_US.ISO8859-1/relnotes/Makefile.inc3
-rw-r--r--release/doc/share/mk/doc.relnotes.mk6
6 files changed, 11 insertions, 6 deletions
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}/}
OpenPOWER on IntegriCloud