aboutsummaryrefslogtreecommitdiff
path: root/release/doc/share/mk/doc.relnotes.mk
diff options
context:
space:
mode:
authorDima Dorfman <dd@FreeBSD.org>2001-04-29 21:05:12 +0000
committerDima Dorfman <dd@FreeBSD.org>2001-04-29 21:05:12 +0000
commit703471ec7f19d2b914e930dbaaac13e8451035e1 (patch)
treed294a5759450b6a53483381dee5e915499cd45aa /release/doc/share/mk/doc.relnotes.mk
parent46157a65d713530b640103823b6928627508526c (diff)
downloadsrc-703471ec7f19d2b914e930dbaaac13e8451035e1.tar.gz
src-703471ec7f19d2b914e930dbaaac13e8451035e1.zip
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
Notes
Notes: svn path=/head/; revision=76140
Diffstat (limited to 'release/doc/share/mk/doc.relnotes.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 000000000000..8248441e87ec
--- /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//}