summaryrefslogtreecommitdiffstats
path: root/release/doc/share/mk
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2001-04-29 21:05:12 +0000
committerdd <dd@FreeBSD.org>2001-04-29 21:05:12 +0000
commit819ac323929d41a0b4ad4676ceb759bdeb200d44 (patch)
tree26cfe2010b50de73418bcae2064b76fbf49770f1 /release/doc/share/mk
parent616044a97d6acb9dd6d7a177315b83e81f34541f (diff)
downloadFreeBSD-src-819ac323929d41a0b4ad4676ceb759bdeb200d44.zip
FreeBSD-src-819ac323929d41a0b4ad4676ceb759bdeb200d44.tar.gz
Build system:
o Define a RELN_ROOT variable which points to the root of the relnotes tree (i.e., src/release/doc). o By default, define DOC_PREFIX in terms of RELN_ROOT; this gives a bigger chance of finding the doc/ tree without help in the form of setting DOC_PREFIX on the command line. o Respect DOCDIR; `make install` works now. Approved by: bmah
Diffstat (limited to 'release/doc/share/mk')
-rw-r--r--release/doc/share/mk/doc.relnotes.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/release/doc/share/mk/doc.relnotes.mk b/release/doc/share/mk/doc.relnotes.mk
new file mode 100644
index 0000000..8248441
--- /dev/null
+++ b/release/doc/share/mk/doc.relnotes.mk
@@ -0,0 +1,6 @@
+# $FreeBSD$
+
+DOC_PREFIX?= ${RELN_ROOT}/../../../doc
+
+# XXX using /release/doc as anchor!
+DESTDIR?= ${DOCDIR}/${.CURDIR:C/^.*\/release\/doc//}
OpenPOWER on IntegriCloud