ack/doc/em/Makefile

37 lines
750 B
Makefile
Raw Normal View History

HOME=../..
1984-06-29 11:29:28 +00:00
head: doc.pr
NROFF=nroff
1986-02-04 17:37:41 +00:00
TBL=tbl
1986-02-04 17:37:41 +00:00
FILES = macr.nr title.nr intro.nr mem.nr ispace.nr dspace.nr mapping.nr \
types.nr descr.nr env.nr traps.nr mach.nr assem.nr \
app.int.nr app.codes.nr app.exam.nr cont.nr
IOP=$(HOME)/util/ass/ip_spec.t# # to construct itables from
1984-06-29 11:29:28 +00:00
1986-02-04 17:37:41 +00:00
doc.pr: $(FILES) itables em.i Makefile
$(TBL) $(FILES) | $(NROFF) >doc.pr
1984-06-29 11:29:28 +00:00
distr: $(FILES) itables em.i
tbl $(FILES) | nroff -Tlp >doc.pr
1984-06-29 11:29:28 +00:00
opr: doc.pr
make pr | opr
pr:
1986-02-27 14:57:35 +00:00
@make "NROFF="$(NROFF) TBL=$(TBL) doc.pr >makepr.out 2>&1
1984-06-29 11:29:28 +00:00
@cat doc.pr
app.codes.pr: app.codes.nr itables
1986-02-04 17:37:41 +00:00
itables: $(IOP) ip.awk
1986-02-27 14:57:35 +00:00
awk -f ip.awk $(IOP) | sed 's/-/\\-/g' | $(TBL) >itables
1984-06-29 11:29:28 +00:00
.SUFFIXES : .pr .nr
1986-02-04 17:37:41 +00:00
.nr.pr: ; $(TBL) macr.nr $*.nr | $(NROFF) >$@
1984-06-29 11:29:28 +00:00
1986-02-27 14:57:35 +00:00
clean:
rm -f *.pr itables *.out