ack/doc/Makefile

82 lines
2.1 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
1988-05-04 10:14:48 +00:00
TARGET=-Tlp
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) \
1990-02-09 16:30:40 +00:00
basic.$(SUF) crefman.$(SUF) pcref.$(SUF) val.$(SUF) ansi_C.$(SUF) \
1987-03-12 23:46:19 +00:00
6500.$(SUF) i80.$(SUF) z80.$(SUF) top.$(SUF) ego.$(SUF) \
1989-10-11 13:17:21 +00:00
m68020.$(SUF) occam.$(SUF) m2ref.$(SUF) ceg.$(SUF) nopt.$(SUF)
1986-02-28 18:02:00 +00:00
1987-03-12 23:46:19 +00:00
.SUFFIXES: .doc .$(SUF)
.doc.$(SUF):
1988-05-04 10:14:48 +00:00
$(NROFF) $(MS) $(TARGET) $< > $@
1987-03-12 23:46:19 +00:00
crefman.$(SUF): crefman.doc
1988-05-04 10:14:48 +00:00
$(EQN) $(TARGET) crefman.doc | $(NROFF) $(MS) $(TARGET) >$@
1990-02-09 16:30:40 +00:00
ansi_C.$(SUF): ansi_C.doc
$(TBL) $(TARGET) ansi_C.doc | $(NROFF) $(MS) $(TARGET) >$@
1987-03-12 23:46:19 +00:00
v7bugs.$(SUF): v7bugs.doc
1988-05-04 10:14:48 +00:00
$(NROFF) $(TARGET) v7bugs.doc >$@
1987-03-12 23:46:19 +00:00
install.$(SUF): install.doc
1988-05-04 10:14:49 +00:00
$(TBL) install.doc | $(NROFF) $(MS) $(TARGET) >$@
1987-03-12 23:46:19 +00:00
pcref.$(SUF): pcref.doc
1988-05-04 10:14:49 +00:00
$(TBL) pcref.doc | $(NROFF) $(TARGET) >$@
1987-03-12 23:46:19 +00:00
val.$(SUF): val.doc
1988-05-04 10:14:48 +00:00
$(NROFF) $(TARGET) val.doc >$@
1984-12-17 11:38:36 +00:00
6500.$(SUF): 6500.doc
1988-05-04 10:14:49 +00:00
$(TBL) 6500.doc | $(NROFF) $(MS) $(TARGET) >$@
1988-04-11 13:03:14 +00:00
ncg.$(SUF): ncg.doc
1988-05-04 10:14:49 +00:00
$(TBL) ncg.doc | $(NROFF) $(MS) $(TARGET) >$@
1987-03-12 23:46:19 +00:00
LLgen.doc: LLgen.X
LLgen.X:
1988-05-04 10:14:48 +00:00
cd LLgen; make "EQN="$(EQN) "TBL="$(TBL) "REFER="$(REFER) "TARGET="$(TARGET)
1987-03-12 23:46:19 +00:00
top.doc: top.X
top.X:
1988-05-04 10:14:48 +00:00
cd top; make "EQN="$(EQN) "TBL="$(TBL) "REFER="$(REFER) "TARGET="$(TARGET)
1987-03-12 23:46:19 +00:00
occam.doc: occam.X
occam.X:
1988-05-04 10:14:48 +00:00
cd occam; make "PIC="$(PIC) "TBL="$(TBL) "EQN="$(EQN) "TARGET="$(TARGET)
1987-03-12 23:46:19 +00:00
ego.doc: ego.X
ego.X:
cd ego; make "REFER="$(REFER) "TARGET="$(TARGET) "TBL="$(TBL)
1987-03-12 23:46:19 +00:00
em.$(SUF): em.X
em.X:
1988-05-04 10:14:48 +00:00
cd em; make "TBL="$(TBL) "NROFF="$(NROFF) "SUF="$(SUF) "TARGET="$(TARGET)
1984-06-29 11:21:50 +00:00
1988-06-27 15:00:08 +00:00
int.doc: int.X
int.X:
cd int; make "TBL="$(TBL)
1989-03-07 16:25:32 +00:00
ceg.doc: ceg.X
ceg.X:
cd ceg; make "PIC="$(PIC) "TBL="$(TBL) "REFER="$(REFER) "TARGET="$(TARGET)
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) \
1988-05-04 10:14:48 +00:00
"PIC="$(PIC) "MS="$(MS) "TARGET="$(TARGET) \
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 \
1989-03-07 16:25:32 +00:00
occam.doc ego.doc int.doc ceg.doc