# Makefile to preformat the manual/help pages. All output stored in the
# obj directory making it easy to clean it out for transportation.
OBJ = ../obj
NINFO = ninfo
HELP = \
	$(OBJ)/abbrev.hlp \
	$(OBJ)/apropos.hlp \
	$(OBJ)/ansi.hlp \
	$(OBJ)/ascii.hlp \
	$(OBJ)/autoind.hlp \
	$(OBJ)/autowrap.hlp \
	$(OBJ)/buflist.hlp \
	$(OBJ)/calc.hlp \
	$(OBJ)/center.hlp \
	$(OBJ)/change.hlp \
	$(OBJ)/chier.hlp \
	$(OBJ)/delblank.hlp \
	$(OBJ)/delspace.hlp \
	$(OBJ)/demo.hlp \
	$(OBJ)/docopts.hlp \
	$(OBJ)/edagain.hlp \
	$(OBJ)/explain.hlp \
	$(OBJ)/format.hlp \
	$(OBJ)/grep.hlp \
	$(OBJ)/hanoi.hlp \
	$(OBJ)/help.hlp \
	$(OBJ)/hpcalc.hlp \
	$(OBJ)/indent.hlp \
	$(OBJ)/isearch.hlp \
	$(OBJ)/joinline.hlp \
	$(OBJ)/kbdsum.hlp \
	$(OBJ)/keylib.hlp \
	$(OBJ)/layout.hlp \
	$(OBJ)/lint.hlp \
	$(OBJ)/literal.hlp \
	$(OBJ)/mail.hlp \
	$(OBJ)/make.hlp \
	$(OBJ)/man.hlp \
	$(OBJ)/margin.hlp \
	$(OBJ)/match.hlp \
	$(OBJ)/mkwrite.hlp \
	$(OBJ)/outdent.hlp \
	$(OBJ)/pipereg.hlp \
	$(OBJ)/print.hlp \
	$(OBJ)/routines.hlp \
	$(OBJ)/setcolor.hlp \
	$(OBJ)/scroll.hlp \
	$(OBJ)/shell.hlp \
	$(OBJ)/spell.hlp \
	$(OBJ)/subshell.hlp \
	$(OBJ)/sum.hlp \
	$(OBJ)/tag.hlp \
	$(OBJ)/tetris.hlp \
	$(OBJ)/tolower.hlp \
	$(OBJ)/toupper.hlp \
	$(OBJ)/use_tabs.hlp \
	$(OBJ)/wc.hlp \
	$(OBJ)/zoom.hlp

all:	$(HELP)

$(OBJ)/abbrev.hlp: abbrev.man
	$(NINFO) $? > $@
$(OBJ)/ansi.hlp: ansi.man
	$(NINFO) $? > $@
$(OBJ)/apropos.hlp: apropos.man
	$(NINFO) $? > $@
$(OBJ)/ascii.hlp: ascii.man
	$(NINFO) $? > $@
$(OBJ)/autoind.hlp: autoind.man
	$(NINFO) $? > $@
$(OBJ)/autowrap.hlp: autowrap.man
	$(NINFO) $? > $@
$(OBJ)/buflist.hlp: buflist.man
	$(NINFO) $? > $@
$(OBJ)/calc.hlp: calc.man
	$(NINFO) $? > $@
$(OBJ)/center.hlp: center.man
	$(NINFO) $? > $@
$(OBJ)/change.hlp: change.man
	$(NINFO) $? > $@
$(OBJ)/chier.hlp: chier.man
	$(NINFO) $? > $@
$(OBJ)/delblank.hlp: delblank.man
	$(NINFO) $? > $@
$(OBJ)/delspace.hlp: delspace.man
	$(NINFO) $? > $@
$(OBJ)/demo.hlp: demo.man
	$(NINFO) $? > $@
$(OBJ)/docopts.hlp: docopts.man
	$(NINFO) $? > $@
$(OBJ)/edagain.hlp: edagain.man
	$(NINFO) $? > $@
$(OBJ)/explain.hlp: explain.man
	$(NINFO) $? > $@
$(OBJ)/format.hlp: format.man
	$(NINFO) $? > $@
$(OBJ)/grep.hlp: grep.man
	$(NINFO) $? > $@
$(OBJ)/hanoi.hlp: hanoi.man
	$(NINFO) $? > $@
$(OBJ)/help.hlp: help.man
	$(NINFO) $? > $@
$(OBJ)/hpcalc.hlp: hpcalc.man
	$(NINFO) $? > $@
$(OBJ)/indent.hlp: indent.man
	$(NINFO) $? > $@
$(OBJ)/isearch.hlp: isearch.man
	$(NINFO) $? > $@
$(OBJ)/joinline.hlp: joinline.man
	$(NINFO) $? > $@
$(OBJ)/kbdsum.hlp: kbdsum.man
	$(NINFO) $? > $@
$(OBJ)/keylib.hlp: keylib.man
	$(NINFO) $? > $@
$(OBJ)/layout.hlp: layout.man
	$(NINFO) $? > $@
$(OBJ)/lint.hlp: lint.man
	$(NINFO) $? > $@
$(OBJ)/literal.hlp: literal.man
	$(NINFO) $? > $@
$(OBJ)/mail.hlp: mail.man
	$(NINFO) $? > $@
$(OBJ)/make.hlp: make.man
	$(NINFO) $? > $@
$(OBJ)/man.hlp: man.man
	$(NINFO) $? > $@
$(OBJ)/margin.hlp: margin.man
	$(NINFO) $? > $@
$(OBJ)/match.hlp: match.man
	$(NINFO) $? > $@
$(OBJ)/mkwrite.hlp: mkwrite.man
	$(NINFO) $? > $@
$(OBJ)/outdent.hlp: outdent.man
	$(NINFO) $? > $@
$(OBJ)/pipereg.hlp: pipereg.man
	$(NINFO) $? > $@
$(OBJ)/print.hlp: print.man
	$(NINFO) $? > $@
$(OBJ)/routines.hlp: routines.man
	$(NINFO) $? > $@
$(OBJ)/setcolor.hlp: setcolor.man
	$(NINFO) $? > $@
$(OBJ)/scroll.hlp: scroll.man
	$(NINFO) $? > $@
$(OBJ)/shell.hlp: shell.man
	$(NINFO) $? > $@
$(OBJ)/spell.hlp: spell.man
	$(NINFO) $? > $@
$(OBJ)/subshell.hlp: subshell.man
	$(NINFO) $? > $@
$(OBJ)/sum.hlp: sum.man
	$(NINFO) $? > $@
$(OBJ)/tag.hlp: tag.man
	$(NINFO) $? > $@
$(OBJ)/tetris.hlp: tetris.man
	$(NINFO) $? > $@
$(OBJ)/tolower.hlp: tolower.man
	$(NINFO) $? > $@
$(OBJ)/toupper.hlp: toupper.man
	$(NINFO) $? > $@
$(OBJ)/use_tabs.hlp: use_tabs.man
	$(NINFO) $? > $@
$(OBJ)/wc.hlp: wc.man
	$(NINFO) $? > $@
$(OBJ)/zoom.hlp: zoom.man
	$(NINFO) $? > $@

