xref: /freebsd/crypto/heimdal/doc/Makefile.am (revision ad30f8e79bd1007cc2476e491bd21b4f5e389e0a)
1# $Id: Makefile.am 22284 2007-12-13 20:39:37Z lha $
2
3include $(top_srcdir)/Makefile.am.common
4
5AUTOMAKE_OPTIONS = no-texinfo.tex
6
7MAKEINFOFLAGS = --no-split --css-include=$(srcdir)/heimdal.css
8
9TEXI2DVI = true # ARGH, make distcheck can't be disabled to not build dvifiles
10
11info_TEXINFOS = heimdal.texi hx509.texi
12
13dxy_subst = sed -e 's,[@]srcdir[@],$(srcdir),g' \
14	-e 's,[@]objdir[@],.,g' \
15	-e 's,[@]PACKAGE_VERSION[@],$(PACKAGE_VERSION),g'
16
17krb5.dxy: krb5.din Makefile
18	$(dxy_subst) < $(srcdir)/krb5.din > krb5.dxy.tmp
19	chmod +x krb5.dxy.tmp
20	mv krb5.dxy.tmp krb5.dxy
21
22ntlm.dxy: ntlm.din Makefile
23	$(dxy_subst) < $(srcdir)/ntlm.din > ntlm.dxy.tmp
24	chmod +x ntlm.dxy.tmp
25	mv ntlm.dxy.tmp ntlm.dxy
26
27hx509.dxy: hx509.din Makefile
28	$(dxy_subst) < $(srcdir)/hx509.din > hx509.dxy.tmp
29	chmod +x hx509.dxy.tmp
30	mv hx509.dxy.tmp hx509.dxy
31
32hcrypto.dxy: hcrypto.din Makefile
33	$(dxy_subst) < $(srcdir)/hcrypto.din > hcrypto.dxy.tmp
34	chmod +x hcrypto.dxy.tmp
35	mv hcrypto.dxy.tmp hcrypto.dxy
36
37
38texi_subst = sed -e 's,[@]dbdir[@],$(localstatedir),g' \
39	-e 's,[@]PACKAGE_VERSION[@],$(PACKAGE_VERSION),g'
40
41vars.texi: vars.tin Makefile
42	$(texi_subst) < $(srcdir)/vars.tin > vars.texi.tmp
43	chmod +x vars.texi.tmp
44	mv vars.texi.tmp vars.texi
45
46doxygen: krb5.dxy ntlm.dxy hx509.dxy hcrypto.dxy
47	doxygen krb5.dxy
48	doxygen ntlm.dxy
49	doxygen hx509.dxy
50	doxygen hcrypto.dxy
51
52heimdal_TEXINFOS = \
53	ack.texi \
54	apps.texi \
55	heimdal.texi \
56	install.texi \
57	intro.texi \
58	kerberos4.texi \
59	migration.texi \
60	misc.texi \
61	programming.texi \
62	setup.texi \
63	vars.texi \
64	whatis.texi \
65	win2k.texi
66
67EXTRA_DIST = \
68	krb5.din \
69	ntlm.din \
70	hx509.din \
71	hcrypto.din \
72	heimdal.css \
73	init-creds \
74	latin1.tex \
75	layman.asc \
76	doxytmpl.dxy \
77	vars.tin
78
79CLEANFILES = \
80	krb5.dxy* \
81	ntlm.dxy* \
82	hx509.dxy* \
83	hcrypto.dxy* \
84	vars.texi*
85
86