Makefile.am revision 178825
1285809Sscottl# $Id: Makefile.am 22284 2007-12-13 20:39:37Z lha $
2285809Sscottl
3285809Sscottlinclude $(top_srcdir)/Makefile.am.common
4285809Sscottl
5285809SscottlAUTOMAKE_OPTIONS = no-texinfo.tex
6285809Sscottl
7285809SscottlMAKEINFOFLAGS = --no-split --css-include=$(srcdir)/heimdal.css
8285809Sscottl
9285809SscottlTEXI2DVI = true # ARGH, make distcheck can't be disabled to not build dvifiles
10285809Sscottl
11285809Sscottlinfo_TEXINFOS = heimdal.texi hx509.texi
12285809Sscottl
13285809Sscottldxy_subst = sed -e 's,[@]srcdir[@],$(srcdir),g' \
14285809Sscottl	-e 's,[@]objdir[@],.,g' \
15285809Sscottl	-e 's,[@]PACKAGE_VERSION[@],$(PACKAGE_VERSION),g'
16285809Sscottl
17285809Sscottlkrb5.dxy: krb5.din Makefile
18285809Sscottl	$(dxy_subst) < $(srcdir)/krb5.din > krb5.dxy.tmp
19285809Sscottl	chmod +x krb5.dxy.tmp
20285809Sscottl	mv krb5.dxy.tmp krb5.dxy
21285809Sscottl
22285809Sscottlntlm.dxy: ntlm.din Makefile
23285809Sscottl	$(dxy_subst) < $(srcdir)/ntlm.din > ntlm.dxy.tmp
24285809Sscottl	chmod +x ntlm.dxy.tmp
25285809Sscottl	mv ntlm.dxy.tmp ntlm.dxy
26285809Sscottl
27285809Sscottlhx509.dxy: hx509.din Makefile
28285809Sscottl	$(dxy_subst) < $(srcdir)/hx509.din > hx509.dxy.tmp
29285809Sscottl	chmod +x hx509.dxy.tmp
30285809Sscottl	mv hx509.dxy.tmp hx509.dxy
31285809Sscottl
32285809Sscottlhcrypto.dxy: hcrypto.din Makefile
33285809Sscottl	$(dxy_subst) < $(srcdir)/hcrypto.din > hcrypto.dxy.tmp
34285809Sscottl	chmod +x hcrypto.dxy.tmp
35285809Sscottl	mv hcrypto.dxy.tmp hcrypto.dxy
36285809Sscottl
37285809Sscottl
38285809Sscottltexi_subst = sed -e 's,[@]dbdir[@],$(localstatedir),g' \
39285809Sscottl	-e 's,[@]PACKAGE_VERSION[@],$(PACKAGE_VERSION),g'
40285809Sscottl
41285809Sscottlvars.texi: vars.tin Makefile
42285809Sscottl	$(texi_subst) < $(srcdir)/vars.tin > vars.texi.tmp
43285809Sscottl	chmod +x vars.texi.tmp
44285809Sscottl	mv vars.texi.tmp vars.texi
45285809Sscottl
46285809Sscottldoxygen: krb5.dxy ntlm.dxy hx509.dxy hcrypto.dxy
47285809Sscottl	doxygen krb5.dxy
48285809Sscottl	doxygen ntlm.dxy
49285809Sscottl	doxygen hx509.dxy
50285809Sscottl	doxygen hcrypto.dxy
51285809Sscottl
52285809Sscottlheimdal_TEXINFOS = \
53285809Sscottl	ack.texi \
54285809Sscottl	apps.texi \
55285809Sscottl	heimdal.texi \
56285809Sscottl	install.texi \
57285809Sscottl	intro.texi \
58285809Sscottl	kerberos4.texi \
59285809Sscottl	migration.texi \
60285809Sscottl	misc.texi \
61285809Sscottl	programming.texi \
62285809Sscottl	setup.texi \
63285809Sscottl	vars.texi \
64285809Sscottl	whatis.texi \
65285809Sscottl	win2k.texi
66285809Sscottl
67285809SscottlEXTRA_DIST = \
68285809Sscottl	krb5.din \
69285809Sscottl	ntlm.din \
70285809Sscottl	hx509.din \
71285809Sscottl	hcrypto.din \
72285809Sscottl	heimdal.css \
73285809Sscottl	init-creds \
74285809Sscottl	latin1.tex \
75285809Sscottl	layman.asc \
76285809Sscottl	doxytmpl.dxy \
77285809Sscottl	vars.tin
78285809Sscottl
79285809SscottlCLEANFILES = \
80285809Sscottl	krb5.dxy* \
81285809Sscottl	ntlm.dxy* \
82285809Sscottl	hx509.dxy* \
83285809Sscottl	hcrypto.dxy* \
84285809Sscottl	vars.texi*
85285809Sscottl
86285809Sscottl