f6b1b0cc33
DESTDIR. This avoids redundant information in the path when DOCDIR points to some directory that already implies (or specifies) a certain language. This is the case with the web site, where the release notes are already installed under a language-specific directory. This behavior is not being made mandatory because it might still be useful to install all the translations in one directory, such as during testing, or in a hypothetical release notes archive. Furthermore, it is not being made the default because that breaks consistency with stuff under doc/. Reviewed by: bmah
25 lines
495 B
Makefile
25 lines
495 B
Makefile
# $FreeBSD$
|
|
|
|
RELN_ROOT?= ${.CURDIR}/../..
|
|
.ifdef NO_LANGCODE_IN_DESTDIR
|
|
DESTDIR?= ${DOCDIR}/readme
|
|
.else
|
|
DESTDIR?= ${DOCDIR}/en_US.ISO8859-1/readme
|
|
.endif
|
|
|
|
DOC?= article
|
|
FORMATS?= html
|
|
INSTALL_COMPRESSED?= gz
|
|
INSTALL_ONLY_COMPRESSED?=
|
|
|
|
#
|
|
# 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
|
|
|
|
.include "${RELN_ROOT}/share/mk/doc.relnotes.mk"
|
|
.include "${DOC_PREFIX}/share/mk/doc.project.mk"
|