ack/doc/Makefile

69 lines
1.5 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) \
1987-07-13 15:14:13 +00:00
m68020.$(SUF) occam.$(SUF) nopt.$(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) crefman.doc | $(NROFF) $(MS) >$@
1987-03-12 23:46:19 +00:00
v7bugs.$(SUF): v7bugs.doc
$(NROFF) v7bugs.doc >$@
1987-03-12 23:46:19 +00:00
install.$(SUF): install.doc
$(TBL) install.doc | $(NROFF) $(MS) >$@
1987-03-12 23:46:19 +00:00
pcref.$(SUF): pcref.doc
1988-02-01 10:45:43 +00:00
$(TBL) pcref.doc | $(NROFF) >$@
1987-03-12 23:46:19 +00:00
val.$(SUF): val.doc
$(NROFF) val.doc >$@
1984-12-17 11:38:36 +00:00
6500.$(SUF): 6500.doc
$(TBL) 6500.doc | $(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