freebsd-dev/release/doc/share/sgml/Makefile
Hiroki Sato 293283dc5b - Add an -o option to specify the output file.
- 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
2004-08-08 09:23:49 +00:00

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