1999-06-01 22:22:52 +04:00
|
|
|
# $NetBSD: Makefile,v 1.2 1999/06/01 18:22:52 ross Exp $
|
1999-06-01 20:51:44 +04:00
|
|
|
|
|
|
|
DOCS= xcu5
|
|
|
|
.for i in ${DOCS}
|
|
|
|
TARGS+= ${i}.ps ${i}.txt ${i}.html ${i}.more
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
POST_PLAIN= -P-b -P-u -P-o -Tascii
|
|
|
|
|
|
|
|
ARGS_PS= ${GFLAGS} -dformat=PostScript
|
|
|
|
ARGS_TXT= ${GFLAGS} -dformat=ASCII ${POST_PLAIN}
|
|
|
|
ARGS_HTML= ${GFLAGS} -dformat=HTML ${POST_PLAIN} -ww
|
|
|
|
ARGS_MORE= ${GFLAGS} -dformat=more -P-h -Tascii
|
|
|
|
|
|
|
|
CLEANFILES+=${TARGS}
|
|
|
|
|
|
|
|
all: ${TARGS}
|
|
|
|
|
|
|
|
.for i in ${DOCS}
|
|
|
|
${i}.ps: ${i}
|
1999-06-01 22:22:52 +04:00
|
|
|
groff ${ARGS_PS} -mdoc ${.ALLSRC} > $@
|
1999-06-01 20:51:44 +04:00
|
|
|
|
|
|
|
${i}.txt: ${i}
|
1999-06-01 22:22:52 +04:00
|
|
|
groff ${ARGS_TXT} -mdoc ${.ALLSRC} > $@
|
1999-06-01 20:51:44 +04:00
|
|
|
|
|
|
|
${i}.html: ${i}
|
1999-06-01 22:22:52 +04:00
|
|
|
groff ${ARGS_HTML} -mdoc2html ${.ALLSRC} > $@
|
1999-06-01 20:51:44 +04:00
|
|
|
|
|
|
|
${i}.more: ${i}
|
1999-06-01 22:22:52 +04:00
|
|
|
groff ${ARGS_MORE} -mdoc ${.ALLSRC} > $@
|
1999-06-01 20:51:44 +04:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
echosrcs! ${SRCS}
|
|
|
|
@echo ${.ALLSRC}
|
|
|
|
|
|
|
|
echomore!
|
|
|
|
@echo ${.OBJDIR}/${TARG}.more
|
|
|
|
|
|
|
|
# make the "afterdepend" rule happy
|
|
|
|
.depend:
|
|
|
|
@touch $@
|
|
|
|
|
|
|
|
.include <bsd.doc.mk>
|