1 # $Heimdal: Makefile.am 22284 2007-12-13 20:39:37Z lha $
4 include $(top_srcdir)/Makefile.am.common
6 AUTOMAKE_OPTIONS = no-texinfo.tex
8 MAKEINFOFLAGS = --no-split --css-include=$(srcdir)/heimdal.css
10 TEXI2DVI = true # ARGH, make distcheck can't be disabled to not build dvifiles
12 info_TEXINFOS = heimdal.texi hx509.texi
14 dxy_subst = sed -e 's,[@]srcdir[@],$(srcdir),g' \
15 -e 's,[@]objdir[@],.,g' \
16 -e 's,[@]PACKAGE_VERSION[@],$(PACKAGE_VERSION),g'
18 krb5.dxy: krb5.din Makefile
19 $(dxy_subst) < $(srcdir)/krb5.din > krb5.dxy.tmp
21 mv krb5.dxy.tmp krb5.dxy
23 ntlm.dxy: ntlm.din Makefile
24 $(dxy_subst) < $(srcdir)/ntlm.din > ntlm.dxy.tmp
26 mv ntlm.dxy.tmp ntlm.dxy
28 hx509.dxy: hx509.din Makefile
29 $(dxy_subst) < $(srcdir)/hx509.din > hx509.dxy.tmp
30 chmod +x hx509.dxy.tmp
31 mv hx509.dxy.tmp hx509.dxy
33 hcrypto.dxy: hcrypto.din Makefile
34 $(dxy_subst) < $(srcdir)/hcrypto.din > hcrypto.dxy.tmp
35 chmod +x hcrypto.dxy.tmp
36 mv hcrypto.dxy.tmp hcrypto.dxy
39 texi_subst = sed -e 's,[@]dbdir[@],$(localstatedir),g' \
40 -e 's,[@]PACKAGE_VERSION[@],$(PACKAGE_VERSION),g'
42 vars.texi: vars.tin Makefile
43 $(texi_subst) < $(srcdir)/vars.tin > vars.texi.tmp
44 chmod +x vars.texi.tmp
45 mv vars.texi.tmp vars.texi
47 doxygen: krb5.dxy ntlm.dxy hx509.dxy hcrypto.dxy