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
27 lines
548 B
Makefile
27 lines
548 B
Makefile
# $FreeBSD$
|
|
|
|
RELN_ROOT?= ${.CURDIR}/../..
|
|
|
|
DOC?= article
|
|
FORMATS?= html
|
|
INSTALL_COMPRESSED?= gz
|
|
INSTALL_ONLY_COMPRESSED?=
|
|
EXTRA_CATALOGS+= ${RELN_ROOT}/share/sgml/catalog
|
|
|
|
#
|
|
# SRCS lists the individual SGML files that make up the document. Changes
|
|
# to any of these files will force a rebuild
|
|
#
|
|
|
|
# SGML content
|
|
SRCS+= article.sgml
|
|
SRCS+= artheader.sgml
|
|
SRCS+= intro.sgml
|
|
SRCS+= about.sgml
|
|
SRCS+= obtaining.sgml
|
|
SRCS+= problems.sgml
|
|
SRCS+= ack.sgml
|
|
|
|
.include "${RELN_ROOT}/share/mk/doc.relnotes.mk"
|
|
.include "${DOC_PREFIX}/share/mk/doc.project.mk"
|