blob: 652cf9da28c2a45a6fd7c71c9eb752c32cffe9ff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
|
SRCDIR=../src
DVI=texi2dvi
DVIPS=dvips -o "$@"
PSPDF=ps2pdf
INFO=makeinfo
HTML=makeinfo --html
RM=rm -f
TAR=tar -chvf
GZIP=gzip -9
MANPS=./man2ps
MANTXT=nroff -man
MANHTML=./man2html
ADMIN_INCLUDES=definitions.texinfo copyright.texinfo document-list.texinfo \
glossary.texinfo support-enc.texinfo salts.texinfo krb5conf.texinfo \
kdcconf.texinfo dnstxt.texinfo dnssrv.texinfo send-pr.texinfo
ADMIN_DEPS=admin.texinfo $(ADMIN_INCLUDES)
INSTALL_INCLUDES=definitions.texinfo copyright.texinfo document-list.texinfo \
dnstxt.texinfo dnssrv.texinfo build.texinfo bug-report.texinfo \
krb5conf.texinfo kdcconf.texinfo send-pr.texinfo
INSTALL_DEPS=install.texinfo $(INSTALL_INCLUDES)
MANPAGES=$(SRCDIR)/appl/gssftp/ftp/ftp.M $(SRCDIR)/clients/kdestroy/kdestroy.M $(SRCDIR)/clients/kinit/kinit.M $(SRCDIR)/clients/klist/klist.M $(SRCDIR)/clients/ksu/ksu.M $(SRCDIR)/appl/bsd/rcp.M $(SRCDIR)/appl/bsd/rlogin.M $(SRCDIR)/appl/bsd/rsh.M $(SRCDIR)/appl/telnet/telnet/telnet.1 $(SRCDIR)/kadmin/passwd/kpasswd.M
USER_GUIDE_INCLUDES=definitions.texinfo copyright.texinfo glossary.texinfo
USER_GUIDE_DEPS=user-guide.texinfo $(USER_GUIDE_INCLUDES)
KRB425_INCLUDES=definitions.texinfo copyright.texinfo
KRB425_DEPS=krb425.texinfo $(KRB425_INCLUDES)
.PHONY: all
all:: admin-guide-full install-guide-full user-guide-full krb425-guide-full clean-temp-ps clean-tex
.PHONY: admin-guide-full
admin-guide-full:: admin-guide admin-guide-info admin-guide-html
.PHONY: admin-guide
admin-guide:: admin-guide.ps
admin-guide.ps: $(ADMIN_DEPS)
$(DVI) admin.texinfo
$(DVIPS) admin
admin-guide.pdf: admin-guide.ps
$(PSPDF) admin-guide.ps admin-guide.pdf
.PHONY: admin-guide-html
admin-guide-html:: admin.html
admin.html: $(ADMIN_DEPS)
$(HTML) admin.texinfo
.PHONY: admin-guide-info
admin-guide-info:: krb5-admin.info
krb5-admin.info: $(ADMIN_DEPS)
$(INFO) admin.texinfo
.PHONY: install-guide-full
install-guide-full:: install-guide install-guide-info install-guide-html
.PHONY: install-guide
install-guide:: install-guide.ps
install-guide.ps: $(INSTALL_DEPS)
$(DVI) install.texinfo
$(DVIPS) install
install-guide.pdf: install-guide.ps
$(PSPDF) install-guide.ps install-guide.pdf
.PHONY: install-guide-html
install-guide-html:: install.html
install.html:: $(INSTALL_DEPS)
$(HTML) install.texinfo
.PHONY: install-guide-info
install-guide-info:: krb5-install.info
krb5-install.info: $(INSTALL_DEPS)
$(INFO) install.texinfo
.PHONY: user-guide-full
user-guide-full:: user-guide user-guide-info user-guide-html
.PHONY: user-guide
user-guide:: user-guide.ps
user-guide.ps: $(USER_GUIDE_DEPS)
$(DVI) user-guide.texinfo
$(MANPS) $(MANPAGES)
$(DVIPS) user-guide
user-guide.pdf: user-guide.ps
$(PSPDF) user-guide.ps user-guide.pdf
.PHONY: user-guide-info
user-guide-info:: krb5-user.info
krb5-user.info: $(USER_GUIDE_DEPS)
$(INFO) user-guide.texinfo
.PHONY: user-guide-html
user-guide-html:: user-guide.html
user-guide.html: $(USER_GUIDE_DEPS)
$(MANTXT) $(SRCDIR)/appl/gssftp/ftp/ftp.M | $(MANHTML) > ftp.html
$(MANTXT) $(SRCDIR)/clients/kdestroy/kdestroy.M | $(MANHTML) > kdestroy.html
$(MANTXT) $(SRCDIR)/clients/kinit/kinit.M | $(MANHTML) > kinit.html
$(MANTXT) $(SRCDIR)/clients/klist/klist.M | $(MANHTML) > klist.html
$(MANTXT) $(SRCDIR)/clients/ksu/ksu.M | $(MANHTML) > ksu.html
$(MANTXT) $(SRCDIR)/appl/bsd/rcp.M | $(MANHTML) > rcp.html
$(MANTXT) $(SRCDIR)/appl/bsd/rlogin.M | $(MANHTML) > rlogin.html
$(MANTXT) $(SRCDIR)/appl/bsd/rsh.M | $(MANHTML) > rsh.html
$(MANTXT) $(SRCDIR)/appl/telnet/telnet/telnet.1 | $(MANHTML) > telnet.html
$(MANTXT) $(SRCDIR)/kadmin/passwd/kpasswd.M | $(MANHTML) > kpasswd.html
$(HTML) user-guide.texinfo
.PHONY: krb425-guide-full
krb425-guide-full:: krb425-guide krb425-guide-info krb425-guide-html
.PHONY: krb425-guide
krb425-guide:: krb425-guide.ps
krb425-guide.ps: $(KRB425_DEPS)
$(DVI) krb425.texinfo
$(DVIPS) krb425
.PHONY: krb425-guide-html
krb425-guide-html:: krb425.html
krb425.html:: $(KRB425_DEPS)
$(HTML) krb425.texinfo
.PHONY: krb425-guide-info
krb425-guide-info:: krb425.info
krb425.info: $(KRB425_DEPS)
$(INFO) krb425.texinfo
.PHONY: implementor.ps implementor.pdf implementor.info
implementor.pdf: implementor.ps
$(PSPDF) implementor.ps
implementor.ps: implementor.texinfo
$(DVI) implementor.texinfo
$(DVIPS) implementor
implementor.info: implementor.texinfo
$(INFO) implementor.texinfo
.PHONY: clean
clean:: clean-all
.PHONY: clean-all
clean-all:: clean-tex clean-backup clean-final clean-tarfiles
.PHONY: clean-final
clean-final::
$(RM) *.ps *.info *.info-? *.html *.pdf
.PHONY: clean-tex
clean-tex::
$(RM) *.aux *.cp *.dvi *.fn *.ky *.log *.pg *.toc *.tp *.vr *.fns *.vrs *.tps
.PHONY: clean-backup
clean-backup::
$(RM) *~ #*
.PHONY: clean-tarfiles
clean-tarfiles::
$(RM) *.tar *.tar.gz *.tgz
.PHONY: clean-temp-ps
clean-temp-ps::
$(RM) ftp?.ps kinit?.ps klist?.ps kdestroy?.ps ksu?.ps rlogin?.ps \
rcp?.ps rsh?.ps telnet?.ps kpasswd?.ps
.PHONY: tgz
tgz::
$(TAR) krb5-docs.tar admin.texinfo build.texinfo copyright.texinfo definitions.texinfo document-list.texinfo glossary.texinfo install.texinfo texinfo.tex user-guide.texinfo *-guide.ps *.info *.info-? *.html
$(GZIP) krb5-docs.tar
$(MV) krb5-docs.tar.gz krb5-docs.tgz
|