x
[heimdal.git] / doc / Makefile.am
blobcfc8bbb2755b550ba654dd4b058c9608801cc68e
1 # $Id$
3 include $(top_srcdir)/Makefile.am.common
5 AUTOMAKE_OPTIONS = no-texinfo.tex
7 MAKEINFOFLAGS = --no-split --css-include=$(srcdir)/heimdal.css
9 TEXI2DVI = true # ARGH, make distcheck can't be disabled to not build dvifiles
11 info_TEXINFOS = heimdal.texi hx509.texi
13 dxy_subst = sed -e 's,[@]srcdir[@],$(srcdir),g' \
14         -e 's,[@]objdir[@],.,g' \
15         -e 's,[@]PACKAGE_VERSION[@],$(PACKAGE_VERSION),g'
17 krb5.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
22 ntlm.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
27 hx509.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
32 hcrypto.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
38 texi_subst = sed -e 's,[@]dbdir[@],$(localstatedir),g' \
39         -e 's,[@]PACKAGE_VERSION[@],$(PACKAGE_VERSION),g'
41 vars.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
46 doxygen: krb5.dxy ntlm.dxy hx509.dxy hcrypto.dxy
47         doxygen krb5.dxy
48         doxygen ntlm.dxy
49         doxygen hx509.dxy
50         doxygen hcrypto.dxy
52 heimdal_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
67 EXTRA_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
79 CLEANFILES = \
80         krb5.dxy* \
81         ntlm.dxy* \
82         hx509.dxy* \
83         hcrypto.dxy* \
84         vars.texi*