doc.relnotes.mk revision 133322
1# $FreeBSD: head/release/doc/share/mk/doc.relnotes.mk 133322 2004-08-08 09:23:49Z hrs $ 2 3DOC_PREFIX?= ${RELN_ROOT}/../../../doc 4 5# Find the RELNOTESng document catalogs 6EXTRA_CATALOGS+= ${RELN_ROOT}/${LANGCODE}/share/sgml/catalog 7EXTRA_CATALOGS+= ${RELN_ROOT}/share/sgml/catalog 8 9# Use the appropriate architecture-dependent RELNOTESng stylesheet 10DSLHTML?= ${RELN_ROOT}/share/sgml/default.dsl 11DSLPRINT?= ${RELN_ROOT}/share/sgml/default.dsl 12 13# 14# Tweakable Makefile variables 15# 16# INCLUDE_HISTORIC Used by relnotes document only. When set, 17# causes all release notes entries to be printed, 18# even those marked as "historic". If not set 19# (the default), only print "non-historic" 20# release note entries. To designate a release 21# note entry as "historic", add a role="historic" 22# attribute to the applicable element(s). 23# 24.if defined(INCLUDE_HISTORIC) 25JADEFLAGS+= -iinclude.historic 26.else 27JADEFLAGS+= -ino.include.historic 28.endif 29 30# 31# Automatic device list generation: 32# 33.if exists(${RELN_ROOT}/../man4) 34MAN4DIR?= ${RELN_ROOT}/../man4 35.elif exists(${RELN_ROOT}/../../man4) 36MAN4DIR?= ${RELN_ROOT}/../../man4 37.else 38MAN4DIR?= ${RELN_ROOT}/../../share/man/man4 39.endif 40MAN4PAGES?= ${MAN4DIR}/*.4 ${MAN4DIR}/man4.*/*.4 41ARCHLIST?= ${RELN_ROOT}/share/misc/dev.archlist.txt 42DEV-AUTODIR= ${RELN_ROOT:S/${.CURDIR}/${.OBJDIR}/}/share/sgml 43CLEANFILES+= ${DEV-AUTODIR}/dev-auto.sgml ${DEV-AUTODIR}/catalog-auto 44 45MAN2HWNOTES_CMD=${RELN_ROOT}/share/misc/man2hwnotes.pl 46 47# Dependency that the article makefiles can use to pull in 48# dev-auto.sgml. 49${DEV-AUTODIR}/catalog-auto ${DEV-AUTODIR}/dev-auto.sgml: ${MAN4PAGES} \ 50 ${ARCHLIST} ${MAN2HWNOTES_CMD} 51 cd ${RELN_ROOT}/share/sgml && make dev-auto.sgml 52