doc.relnotes.mk revision 241096
176140Sdd# $FreeBSD: head/release/doc/share/mk/doc.relnotes.mk 241096 2012-10-01 11:26:49Z gabor $ 276140Sdd 376140SddDOC_PREFIX?= ${RELN_ROOT}/../../../doc 476140Sdd 579462Sbmah# Find the RELNOTESng document catalogs 6241096SgaborEXTRA_CATALOGS+= ${RELN_ROOT}/${LANGCODE}/share/xml/catalog 7241096SgaborEXTRA_CATALOGS+= ${RELN_ROOT}/share/xml/catalog 876222Sbmah 976222Sbmah# Use the appropriate architecture-dependent RELNOTESng stylesheet 10241096SgaborDSLHTML?= ${RELN_ROOT}/share/xml/default.dsl 11241096SgaborDSLPRINT?= ${RELN_ROOT}/share/xml/default.dsl 1298515Sbmah 1398515Sbmah# 14133094Ssimon# Automatic device list generation: 15133094Ssimon# 16133094Ssimon.if exists(${RELN_ROOT}/../man4) 17133094SsimonMAN4DIR?= ${RELN_ROOT}/../man4 18133094Ssimon.elif exists(${RELN_ROOT}/../../man4) 19133094SsimonMAN4DIR?= ${RELN_ROOT}/../../man4 20133094Ssimon.else 21133094SsimonMAN4DIR?= ${RELN_ROOT}/../../share/man/man4 22133094Ssimon.endif 23133094SsimonMAN4PAGES?= ${MAN4DIR}/*.4 ${MAN4DIR}/man4.*/*.4 24133094SsimonARCHLIST?= ${RELN_ROOT}/share/misc/dev.archlist.txt 25241096SgaborDEV-AUTODIR= ${RELN_ROOT:S/${.CURDIR}/${.OBJDIR}/}/share/xml 26241096SgaborCLEANFILES+= ${DEV-AUTODIR}/dev-auto.xml ${DEV-AUTODIR}/catalog-auto 27133094Ssimon 28133322ShrsMAN2HWNOTES_CMD=${RELN_ROOT}/share/misc/man2hwnotes.pl 29166778Sbmah.if defined(HWNOTES_MI) 30166778SbmahMAN2HWNOTES_FLAGS= 31166778Sbmah.else 32166778SbmahMAN2HWNOTES_FLAGS= -c 33166778Sbmah.endif 34133322Shrs 35133094Ssimon# Dependency that the article makefiles can use to pull in 36241096Sgabor# dev-auto.xml. 37241096Sgabor${DEV-AUTODIR}/catalog-auto ${DEV-AUTODIR}/dev-auto.xml: ${MAN4PAGES} \ 38133322Shrs ${ARCHLIST} ${MAN2HWNOTES_CMD} 39241096Sgabor cd ${RELN_ROOT}/share/xml && make MAN2HWNOTES_FLAGS=${MAN2HWNOTES_FLAGS} dev-auto.xml 40