1#  Simple Makefile for the COPS documentation
2#
3#	make all	    -- makes everything
4#	make <doc-name> -- make a given doc
5DOCS	   = COPS.report.ms suid.man.ms kuang.man.ms
6MAN        = cops.1 cron.chk.1 dev.chk.1 group.chk.1 is_able.chk.1 \
7             passwd.chk.1 is_able.1 home.chk.1 user.chk.1 pass.chk.1 \
8             root.chk.1 rc.chk.1 pass_diff.chk.1 misc.chk.1 \
9             is_writable.1 bug.chk.1
10
11DOC_SOURCE = COPS.report suid.man kuang.man cops cron.chk dev.chk is_able.chk \
12             dir.chk file.chk group.chk passwd.chk is_able home.chk \
13             user.chk pass.chk root.chk rc.chk pass_diff.chk misc.chk \
14             is_writable bug.chk
15ROFFLAGS   = -ms
16
17#
18# Where the programs are....
19#
20NROFF=/usr/bin/nroff
21RM=/bin/rm -f
22
23# make all
24all:	$(DOCS) $(MAN)
25
26clean:
27	$(RM) $(DOCS) $(MAN)
28
29# 'roff out those docs
30COPS.report.ms: COPS.report
31	$(NROFF) $(ROFFLAGS) COPS.report > COPS.report.ms
32
33kuang.man.ms: kuang.man
34	$(NROFF) $(ROFFLAGS) kuang.man > kuang.man.ms
35
36suid.man.ms: suid.man
37	$(NROFF) $(ROFFLAGS) suid.man > suid.man.ms
38
39bug.chk.1: bug.chk
40	$(NROFF) -man bug.chk > bug.chk.1
41
42cops.1: cops
43	$(NROFF) -man cops > cops.1
44
45cron.chk.1: cron.chk
46	$(NROFF) -man cron.chk > cron.chk.1
47
48dev.chk.1: dev.chk
49	$(NROFF) -man dev.chk > dev.chk.1
50
51dir.chk.1: dir.chk
52	$(NROFF) -man dir.chk > dir.chk.1
53
54file.chk.1: file.chk
55	$(NROFF) -man file.chk > file.chk.1
56
57group.chk.1: group.chk
58	$(NROFF) -man group.chk > group.chk.1
59
60passwd.chk.1: passwd.chk
61	$(NROFF) -man passwd.chk > passwd.chk.1
62
63pass.chk.1: pass.chk
64	$(NROFF) -man pass.chk > pass.chk.1
65
66is_able.1: is_able
67	$(NROFF) -man is_able > is_able.1
68
69is_writable.1: is_writable
70	$(NROFF) -man is_writable > is_writable.1
71
72is_able.chk.1: is_able.chk
73	$(NROFF) -man is_able.chk > is_able.chk.1
74
75home.chk.1: home.chk
76	$(NROFF) -man home.chk > home.chk.1
77
78user.chk.1: user.chk
79	$(NROFF) -man user.chk > user.chk.1
80
81root.chk.1: root.chk
82	$(NROFF) -man root.chk > root.chk.1
83
84rc.chk.1: rc.chk
85	$(NROFF) -man rc.chk > rc.chk.1
86
87pass_diff.chk.1: pass_diff.chk
88	$(NROFF) -man pass_diff.chk > pass_diff.chk.1
89
90misc.chk.1: misc.chk
91	$(NROFF) -man misc.chk > misc.chk.1
92
93# the end
94