summaryrefslogtreecommitdiffstats
path: root/doc/Makefile
blob: 191a4c7b36033bd6e4571750cc71df9692c20dd1 (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
SRCDIR=../src
DVI=texi2dvi
DVIPS=dvips -o "$@.ps"
INFO=makeinfo
HTML=texi2html
RM=rm -f
TAR=tar -chvf
GZIP=gzip -9
MANPS=./man2ps

all:: admin-guide-full install-guide-full user-guide-full clean-temp-ps

admin-guide-full:: admin-guide admin-guide-info admin-guide-html

admin-guide::
	$(DVI) admin.texinfo
	$(DVIPS) admin

admin-guide-html::
	$(HTML) admin.texinfo

admin-guide-info::
	$(INFO) admin.texinfo

install-guide-full:: install-guide install-guide-info install-guide-html

install-guide::
	$(DVI) install.texinfo
	$(DVIPS) install

install-guide-html::
	$(HTML) install.texinfo		

install-guide-info::
	$(INFO) install.texinfo

user-guide-full:: user-guide user-guide-info user-guide-html

user-guide::
	$(DVI) user-guide.texinfo
	$(MANPS) $(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
	$(DVIPS) user-guide

user-guide-info::
	$(INFO) user-guide.texinfo

user-guide-html::
	$(HTML) user-guide.texinfo		

clean:: clean-all

clean-all:: clean-tex clean-backup clean-final clean-tarfiles

clean-final::
	$(RM) *.ps *.info *.info-? *.html

clean-tex::
	$(RM) *.aux *.cp *.dvi *.fn *.ky *.log *.pg *.toc *.tp *.vr

clean-backup::
	$(RM) *~ #*

clean-tarfiles::
	$(RM) *.tar *.tar.gz *.tgz

clean-temp-ps::
	$(RM) ftp?.ps kinit?.ps klist?.ps kdestroy?.ps ksu?.ps rlogin?.ps \
		rcp?.ps rsh?.ps telnet?.ps kpasswd?.ps

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