Commit | Line | Data |
---|---|---|
e3dc6108 | 1 | # |
aeb2545d DF |
2 | # Sendmail |
3 | # Copyright (c) 1983 Eric P. Allman | |
4 | # Berkeley, California | |
5 | # | |
6 | # Copyright (c) 1983 Regents of the University of California. | |
7 | # All rights reserved. The Berkeley software License Agreement | |
8 | # specifies the terms and conditions for redistribution. | |
9 | # | |
10 | # @(#)Makefile 5.1 (Berkeley) %G% | |
e3dc6108 | 11 | # |
aeb2545d DF |
12 | # |
13 | # Makefile for sendmail documentation | |
e3dc6108 EA |
14 | # |
15 | ||
682a2b7b EA |
16 | OBJS= intro.lpr op.lpr usenix.lpr |
17 | DOCS= intro.me op.me usenix.me | |
18 | SRCS= $(DOCS) sendmail.8 syslog.3 syslog.8 | |
e3dc6108 EA |
19 | ALL= $(OBJS) rfc819.lpr rfc821.lpr rfc822.lpr |
20 | ||
21 | LPR= lpr | |
682a2b7b | 22 | TROFF= vtroff |
e3dc6108 EA |
23 | GET= sccs get |
24 | ||
25 | .SUFFIXES: .me .lpr | |
26 | ||
27 | .me.lpr: | |
28 | nroff -me -Tlp $< > $@ | |
29 | ||
682a2b7b EA |
30 | troff: $(DOCS) |
31 | for i in $(DOCS); do $(TROFF) -me $$i; done | |
32 | ||
e3dc6108 EA |
33 | all: $(ALL) |
34 | ||
35 | print: $(ALL) | |
36 | $(LPR) $(ALL) | |
37 | ||
38 | sources: $(SRCS) | |
39 | ||
40 | $(SRCS): | |
41 | $(GET) $(REL) SCCS/s.$@ | |
42 | ||
43 | clean: | |
44 | rm -f $(OBJS) a.out core |