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
25 lines
616 B
Makefile
25 lines
616 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+= proc-alpha.sgml
|
|
SRCS+= ../common/hw.ent
|
|
SRCS+= ../common/artheader.sgml
|
|
SRCS+= ../common/dev.sgml
|
|
SRCS+= ../common/config.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"
|