f93065ec3e
- Make "die()" more verbose. - Do not put extra blank lines into the output file. - Normalize text by using numeric entities because some characters such as "'" can break the generated SGML. Reviewed by: simon
16 lines
431 B
Makefile
16 lines
431 B
Makefile
# $FreeBSD$
|
|
|
|
RELN_ROOT?= ${.CURDIR}/../..
|
|
|
|
.include "${RELN_ROOT}/share/mk/doc.relnotes.mk"
|
|
.include "${DOC_PREFIX}/share/mk/doc.project.mk"
|
|
|
|
dev-auto.sgml: ${MAN4PAGES} ${ARCHLIST} ${MAN2HWNOTES_CMD} catalog-auto
|
|
${PERL} ${MAN2HWNOTES_CMD} -a ${ARCHLIST} -o ${.TARGET} ${MAN4PAGES}
|
|
|
|
catalog-auto:
|
|
${ECHO_CMD} 'PUBLIC "-//FreeBSD//ENTITIES Auto Generated Device Lists//EN"' \
|
|
'"dev-auto.sgml"' > ${.TARGET}
|
|
|
|
all: dev-auto.sgml
|