ack/doc/Makefile

68 lines
1.6 KiB
Makefile
Raw Normal View History

1984-07-27 10:28:48 +00:00
# $Header$
1984-06-29 11:21:50 +00:00
SUF=pr
PRINT=cat
NROFF=nroff
1986-02-28 18:02:00 +00:00
TBL=tbl
EQN=eqn
MS=-ms
1984-06-29 11:21:50 +00:00
1986-02-28 18:02:00 +00:00
RESFILES= \
toolkit.$(SUF) install.$(SUF) ack.$(SUF) v7bugs.$(SUF) \
peep.$(SUF) cg.$(SUF) ncg.$(SUF) regadd.$(SUF) LLgen.$(SUF) \
basic.$(SUF) cref.$(SUF) pcref.$(SUF) val.$(SUF) \
6500.$(SUF) i80.$(SUF) z80.$(SUF) top.$(SUF)
1986-02-28 18:02:00 +00:00
1984-06-29 11:21:50 +00:00
cref.$(SUF): cref.doc
1986-02-28 18:02:00 +00:00
$(TBL) $? | $(NROFF) >$@
1984-06-29 11:21:50 +00:00
v7bugs.$(SUF): v7bugs.doc
1986-03-04 15:30:45 +00:00
$(NROFF) $? >$@
1984-06-29 11:21:50 +00:00
ack.$(SUF): ack.doc
$(NROFF) $(MS) $? >$@
1984-06-29 11:21:50 +00:00
cg.$(SUF): cg.doc
$(NROFF) $(MS) $? >$@
1985-01-04 13:57:11 +00:00
ncg.$(SUF): ncg.doc
1986-02-28 18:02:00 +00:00
$(TBL) $? | $(NROFF) $(MS) >$@
1984-06-29 11:21:50 +00:00
regadd.$(SUF): regadd.doc
$(NROFF) $(MS) $? >$@
1984-06-29 11:21:50 +00:00
install.$(SUF): install.doc
1986-02-28 18:02:00 +00:00
$(TBL) $? | $(NROFF) $(MS) >$@
1984-06-29 11:21:50 +00:00
pcref.$(SUF): pcref.doc
$(NROFF) $? >$@
1984-11-27 23:51:07 +00:00
basic.$(SUF): basic.doc
$(NROFF) $(MS) $? >$@
1984-06-29 11:21:50 +00:00
peep.$(SUF): peep.doc
$(NROFF) $(MS) $? >$@
1984-06-29 11:21:50 +00:00
val.$(SUF): val.doc
$(NROFF) $? >$@
toolkit.$(SUF): toolkit.doc
$(NROFF) $(MS) $? >$@
LLgen.$(SUF): LLgen/Makefile LLgen/LLgen.doc LLgen/LLgen.refs
cd LLgen; make "NROFF="$(NROFF) "MS="$(MS) "EQN="$(EQN) \
"TBL="$(TBL) "SUF="$(SUF)
1984-12-17 11:38:36 +00:00
6500.$(SUF): 6500.doc
1986-02-28 18:02:00 +00:00
$(TBL) $? | $(NROFF) $(MS) >$@
i80.$(SUF): i80.doc
$(NROFF) $(MS) $? >$@
1986-02-28 18:02:00 +00:00
z80.$(SUF): z80.doc
$(NROFF) $(MS) $? >$@
top.$(SUF): top/Makefile top/top.n top/refs.top
cd top; make "NROFF="$(NROFF) "MS="$(MS) "EQN="$(EQN) \
"TBL="$(TBL) "SUF="$(SUF)
1984-06-29 11:21:50 +00:00
install cmp:
distr: install.doc
tbl install.doc | nroff -Tlp $(MS) >install.pr
1986-02-28 18:02:00 +00:00
1984-06-29 11:21:50 +00:00
pr:
1986-02-28 18:02:00 +00:00
@make "SUF="$(SUF) "NROFF="$(NROFF) \
$(RESFILES) >make.pr.out 2>&1
1984-06-29 11:21:50 +00:00
@$(PRINT) $(RESFILES)
opr:
make pr | opr
clean:
1986-02-28 18:02:00 +00:00
-rm -f *.old $(RESFILES) *.t *.out