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
20 mv krb5.dxy.tmp krb5.dxy
22 ntlm.dxy: ntlm.din Makefile
23 $(dxy_subst) < $(srcdir)/ntlm.din > 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