date and time created 88/07/22 16:08:01 by bostic
[unix-history] / usr / src / old / as.vax / PSD.doc / Makefile
CommitLineData
6bc7db0f
RH
1#
2# Copyright (c) 1983 Regents of the University of California
3#
374c4592 4# @(#)Makefile 1.2 (Berkeley) %G%
6bc7db0f
RH
5#
6MAN = as.man.1
7DOC = asdocs0.me asdocs1.me asdocs2.me asdocs3.me asdocs4.me
8#
9# Change these to change the way the document is printed out;
10# the document is written using -me, which always must be present
11#
374c4592
KM
12FMT = ditroff
13PKG = -me
14PRINTER = -Pdp
15# FMTOPTIONS = -t
16FMTOPTIONS =
6bc7db0f 17FMTDST = docs.t.out
374c4592
KM
18EQN = deqn
19TBL = dtbl
6bc7db0f
RH
20all: sources fmt
21
22clean:
23 -rm *.TME $(FMTDST)
24
25srcs: sources
26sources: $(DOC) $(MAN)
27$(DOC) $(MAN):
28 sccs get $@
29#
30# Constructing the assembler documentation:
31# assembler reference manual
32# assembler manual page
33#
34.SUFFIXES: .me .TME .tbl
35
36DOCS = asdocs0.me asdocs1.TME asdocs2.TME asdocs3.TME asdocs4.TME
37
38docs.raw: $(DOCS)
39
40fmt: $(DOCS)
374c4592 41 cat $(DOCS) | $(FMT) $(FMTOPTIONS) $(PKG) $(PRINTER)
6bc7db0f
RH
42 -rm *.TME
43
44.me.TME:
374c4592
KM
45 soelim $*.me | $(TBL) $(PRINTER) > $*.tmp
46 $(EQN) $(PRINTER) /usr/pub/eqnchar $*.tmp > $*.TME
6bc7db0f 47 rm $*.tmp