ack/doc/Makefile

69 lines
1.4 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
1987-03-12 23:46:19 +00:00
PIC=pic
REFER=refer
MS=-ms
1984-06-29 11:21:50 +00:00
1986-02-28 18:02:00 +00:00
RESFILES= \
1987-03-12 23:46:19 +00:00
toolkit.$(SUF) install.$(SUF) em.$(SUF) ack.$(SUF) v7bugs.$(SUF) \
1986-02-28 18:02:00 +00:00
peep.$(SUF) cg.$(SUF) ncg.$(SUF) regadd.$(SUF) LLgen.$(SUF) \
1987-03-12 23:46:19 +00:00
basic.$(SUF) crefman.$(SUF) pcref.$(SUF) val.$(SUF) \
6500.$(SUF) i80.$(SUF) z80.$(SUF) top.$(SUF) ego.$(SUF) \
m68020.$(SUF) occam.$(SUF)
1986-02-28 18:02:00 +00:00
1987-03-12 23:46:19 +00:00
.SUFFIXES: .doc .$(SUF)
.doc.$(SUF):
$(NROFF) $(MS) $< > $@
crefman.$(SUF): crefman.doc
$(EQN) $? | $(NROFF) $(MS) >$@
v7bugs.$(SUF): v7bugs.doc
1986-03-04 15:30:45 +00:00
$(NROFF) $? >$@
1987-03-12 23:46:19 +00:00
install.$(SUF): install.doc
1986-02-28 18:02:00 +00:00
$(TBL) $? | $(NROFF) $(MS) >$@
1987-03-12 23:46:19 +00:00
pcref.$(SUF): pcref.doc
1984-06-29 11:21:50 +00:00
$(NROFF) $? >$@
1987-03-12 23:46:19 +00:00
val.$(SUF): val.doc
1984-06-29 11:21:50 +00:00
$(NROFF) $? >$@
1984-12-17 11:38:36 +00:00
6500.$(SUF): 6500.doc
1986-02-28 18:02:00 +00:00
$(TBL) $? | $(NROFF) $(MS) >$@
1987-03-12 23:46:19 +00:00
LLgen.doc: LLgen.X
LLgen.X:
cd LLgen; make "EQN="$(EQN) "TBL="$(TBL) "REFER="$(REFER)
top.doc: top.X
top.X:
cd top; make "EQN="$(EQN) "TBL="$(TBL) "REFER="$(REFER)
occam.doc: occam.X
occam.X:
cd occam; make "PIC="$(PIC) "TBL="$(TBL) "EQN="$(EQN)
ego.doc: ego.X
ego.X:
cd ego; make "REFER="$(REFER)
em.$(SUF): em.X
em.X:
cd em; make "TBL="$(TBL) "NROFF="$(NROFF) "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:
1987-03-12 23:46:19 +00:00
@make "SUF="$(SUF) "NROFF="$(NROFF) "EQN="$(EQN) "TBL="$(TBL) \
"PIC="$(PIC) "MS="$(MS) \
1986-02-28 18:02:00 +00:00
$(RESFILES) >make.pr.out 2>&1
1984-06-29 11:21:50 +00:00
@$(PRINT) $(RESFILES)
opr:
make pr | opr
clean:
1987-03-25 22:48:25 +00:00
-rm -f *.old $(RESFILES) *.t *.out LLgen.doc top.doc \
occam.doc ego.doc