703471ec7f
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
24 lines
602 B
Makefile
24 lines
602 B
Makefile
# $FreeBSD$
|
|
|
|
RELN_ROOT?= ${.CURDIR}/../../..
|
|
|
|
DOC?= article
|
|
FORMATS?= html
|
|
INSTALL_COMPRESSED?= gz
|
|
INSTALL_ONLY_COMPRESSED?=
|
|
EXTRA_CATALOGS+= ${RELN_ROOT}/share/sgml/catalog
|
|
|
|
# SGML content
|
|
SRCS+= article.sgml
|
|
SRCS+= ../common/relnotes.ent
|
|
SRCS+= ../common/artheader.sgml
|
|
SRCS+= ../common/new.sgml
|
|
SRCS+= ../common/upgrading.sgml
|
|
|
|
# Use the appropriate architecture-dependent RELNOTESng stylesheet
|
|
DSLHTML?= ${RELN_ROOT}/share/sgml/release-alpha.dsl
|
|
DSLPRINT?= ${RELN_ROOT}/share/sgml/release-alpha.dsl
|
|
|
|
.include "${RELN_ROOT}/share/mk/doc.relnotes.mk"
|
|
.include "${DOC_PREFIX}/share/mk/doc.project.mk"
|