Commit | Line | Data |
---|---|---|
e3dc6108 EA |
1 | # |
2 | # Makefile for sendmail documentation | |
3 | # | |
c7c68208 | 4 | # @(#)Makefile 4.1 %G% |
e3dc6108 EA |
5 | # |
6 | ||
682a2b7b EA |
7 | OBJS= intro.lpr op.lpr usenix.lpr |
8 | DOCS= intro.me op.me usenix.me | |
9 | SRCS= $(DOCS) sendmail.8 syslog.3 syslog.8 | |
e3dc6108 EA |
10 | ALL= $(OBJS) rfc819.lpr rfc821.lpr rfc822.lpr |
11 | ||
12 | LPR= lpr | |
682a2b7b | 13 | TROFF= vtroff |
e3dc6108 EA |
14 | GET= sccs get |
15 | ||
16 | .SUFFIXES: .me .lpr | |
17 | ||
18 | .me.lpr: | |
19 | nroff -me -Tlp $< > $@ | |
20 | ||
682a2b7b EA |
21 | troff: $(DOCS) |
22 | for i in $(DOCS); do $(TROFF) -me $$i; done | |
23 | ||
e3dc6108 EA |
24 | all: $(ALL) |
25 | ||
26 | print: $(ALL) | |
27 | $(LPR) $(ALL) | |
28 | ||
29 | sources: $(SRCS) | |
30 | ||
31 | $(SRCS): | |
32 | $(GET) $(REL) SCCS/s.$@ | |
33 | ||
34 | clean: | |
35 | rm -f $(OBJS) a.out core |