xref: /original-bsd/usr.sbin/sendmail/doc/Makefile (revision c577960b)
1#
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) 06/07/85
11#
12#
13#	Makefile for sendmail documentation
14#
15
16OBJS=	intro.lpr op.lpr usenix.lpr
17DOCS=	intro.me  op.me  usenix.me
18SRCS=	$(DOCS) sendmail.8 syslog.3 syslog.8
19ALL=	$(OBJS) rfc819.lpr rfc821.lpr rfc822.lpr
20
21LPR=	lpr
22TROFF=	vtroff
23GET=	sccs get
24
25.SUFFIXES: .me .lpr
26
27.me.lpr:
28	nroff -me -Tlp $< > $@
29
30troff: $(DOCS)
31	for i in $(DOCS); do $(TROFF) -me $$i; done
32
33all: $(ALL)
34
35print: $(ALL)
36	$(LPR) $(ALL)
37
38sources: $(SRCS)
39
40$(SRCS):
41	$(GET) $(REL) SCCS/s.$@
42
43clean:
44	rm -f $(OBJS) a.out core
45