1ebfedea0SLionel Sambuc# Id 2ebfedea0SLionel Sambuc 3ebfedea0SLionel Sambucinclude $(top_srcdir)/Makefile.am.common 4ebfedea0SLionel Sambuc 5ebfedea0SLionel SambucAUTOMAKE_OPTIONS = no-texinfo.tex 6ebfedea0SLionel Sambuc 7ebfedea0SLionel SambucMAKEINFOFLAGS = --css-include=$(srcdir)/heimdal.css 8ebfedea0SLionel Sambuc 9ebfedea0SLionel SambucTEXI2DVI = true # ARGH, make distcheck can't be disabled to not build dvifiles 10ebfedea0SLionel Sambuc 11ebfedea0SLionel Sambucinfo_TEXINFOS = heimdal.texi hx509.texi 12ebfedea0SLionel Sambuc 13ebfedea0SLionel Sambucdxy_subst = sed -e 's,[@]srcdir[@],$(srcdir),g' \ 14ebfedea0SLionel Sambuc -e 's,[@]objdir[@],.,g' \ 15ebfedea0SLionel Sambuc -e 's,[@]PACKAGE_VERSION[@],$(PACKAGE_VERSION),g' 16ebfedea0SLionel Sambuc 17ebfedea0SLionel Sambuchcrypto.dxy: hcrypto.din Makefile 18ebfedea0SLionel Sambuc $(dxy_subst) < $(srcdir)/hcrypto.din > hcrypto.dxy.tmp 19ebfedea0SLionel Sambuc chmod +x hcrypto.dxy.tmp 20ebfedea0SLionel Sambuc mv hcrypto.dxy.tmp hcrypto.dxy 21ebfedea0SLionel Sambuc 22ebfedea0SLionel Sambuchdb.dxy: hdb.din Makefile 23ebfedea0SLionel Sambuc $(dxy_subst) < $(srcdir)/hdb.din > hdb.dxy.tmp 24ebfedea0SLionel Sambuc chmod +x hdb.dxy.tmp 25ebfedea0SLionel Sambuc mv hdb.dxy.tmp hdb.dxy 26ebfedea0SLionel Sambuc 27ebfedea0SLionel Sambuchx509.dxy: hx509.din Makefile 28ebfedea0SLionel Sambuc $(dxy_subst) < $(srcdir)/hx509.din > hx509.dxy.tmp 29ebfedea0SLionel Sambuc chmod +x hx509.dxy.tmp 30ebfedea0SLionel Sambuc mv hx509.dxy.tmp hx509.dxy 31ebfedea0SLionel Sambuc 32ebfedea0SLionel Sambucgssapi.dxy: gssapi.din Makefile 33ebfedea0SLionel Sambuc $(dxy_subst) < $(srcdir)/gssapi.din > gssapi.dxy.tmp 34ebfedea0SLionel Sambuc chmod +x gssapi.dxy.tmp 35ebfedea0SLionel Sambuc mv gssapi.dxy.tmp gssapi.dxy 36ebfedea0SLionel Sambuc 37ebfedea0SLionel Sambuckrb5.dxy: krb5.din Makefile 38ebfedea0SLionel Sambuc $(dxy_subst) < $(srcdir)/krb5.din > krb5.dxy.tmp 39ebfedea0SLionel Sambuc chmod +x krb5.dxy.tmp 40ebfedea0SLionel Sambuc mv krb5.dxy.tmp krb5.dxy 41ebfedea0SLionel Sambuc 42ebfedea0SLionel Sambucntlm.dxy: ntlm.din Makefile 43ebfedea0SLionel Sambuc $(dxy_subst) < $(srcdir)/ntlm.din > ntlm.dxy.tmp 44ebfedea0SLionel Sambuc chmod +x ntlm.dxy.tmp 45ebfedea0SLionel Sambuc mv ntlm.dxy.tmp ntlm.dxy 46ebfedea0SLionel Sambuc 47ebfedea0SLionel Sambucwind.dxy: wind.din Makefile 48ebfedea0SLionel Sambuc $(dxy_subst) < $(srcdir)/wind.din > wind.dxy.tmp 49ebfedea0SLionel Sambuc chmod +x wind.dxy.tmp 50ebfedea0SLionel Sambuc mv wind.dxy.tmp wind.dxy 51ebfedea0SLionel Sambuc 52ebfedea0SLionel Sambuctexi_subst = sed -e 's,[@]dbdir[@],$(localstatedir),g' \ 53ebfedea0SLionel Sambuc -e 's,[@]PACKAGE_VERSION[@],$(PACKAGE_VERSION),g' 54ebfedea0SLionel Sambuc 55ebfedea0SLionel Sambucvars.texi: vars.tin Makefile 56ebfedea0SLionel Sambuc $(texi_subst) < $(srcdir)/vars.tin > vars.texi.tmp 57ebfedea0SLionel Sambuc chmod +x vars.texi.tmp 58ebfedea0SLionel Sambuc mv vars.texi.tmp vars.texi 59ebfedea0SLionel Sambuc 60ebfedea0SLionel SambucPROJECTS = hcrypto hdb hx509 gssapi krb5 ntlm wind 61ebfedea0SLionel Sambuc 62ebfedea0SLionel Sambucdoxyout doxygen: hdb.dxy hx509.dxy hcrypto.dxy gssapi.dxy krb5.dxy ntlm.dxy wind.dxy 63ebfedea0SLionel Sambuc @find $(srcdir)/doxyout -type d ! -perm -200 -exec chmod u+w {} ';' ; \ 64ebfedea0SLionel Sambuc rm -rf $(srcdir)/doxyout ; \ 65ebfedea0SLionel Sambuc mkdir $(srcdir)/doxyout ; \ 66ebfedea0SLionel Sambuc for a in $(PROJECTS) ; do \ 67ebfedea0SLionel Sambuc echo $$a ; \ 68ebfedea0SLionel Sambuc doxygen $$a.dxy; \ 69ebfedea0SLionel Sambuc (cd $(srcdir)/doxyout && find $$a/man -type f > $$a/manpages ) ; \ 70ebfedea0SLionel Sambuc done 71ebfedea0SLionel Sambuc 72ebfedea0SLionel Sambucinstall-data-hook: install-doxygen-manpage 73ebfedea0SLionel Sambucuninstall-hook: uninstall-doxygen-manpage 74ebfedea0SLionel Sambucdist-hook: doxygen 75ebfedea0SLionel Sambuc 76ebfedea0SLionel Sambucinstall-doxygen-manpage: 77ebfedea0SLionel Sambuc for a in $(PROJECTS) ; do \ 78ebfedea0SLionel Sambuc f="$(srcdir)/doxyout/$$a/manpages" ; \ 79ebfedea0SLionel Sambuc test -f $$f || continue ; \ 80ebfedea0SLionel Sambuc echo "install $$a manual pages $$(wc -l < $$f)" ; \ 81ebfedea0SLionel Sambuc while read x ; do \ 82ebfedea0SLionel Sambuc section=`echo "$$x" | sed 's/.*\.\([0-9]\)/\1/'` ; \ 83ebfedea0SLionel Sambuc $(mkinstalldirs) "$(DESTDIR)$(mandir)/man$$section" ; \ 84ebfedea0SLionel Sambuc $(INSTALL_DATA) $(srcdir)/doxyout/$$x "$(DESTDIR)$(mandir)/man$$section" ; \ 85ebfedea0SLionel Sambuc done < $$f ; \ 86ebfedea0SLionel Sambuc done ; exit 0 87ebfedea0SLionel Sambuc 88ebfedea0SLionel Sambucuninstall-doxygen-manpage: 89ebfedea0SLionel Sambuc @for a in $(PROJECTS) ; do \ 90ebfedea0SLionel Sambuc f="$(srcdir)/doxyout/$$a/manpages" ; \ 91ebfedea0SLionel Sambuc test -f $$f || continue ; \ 92ebfedea0SLionel Sambuc echo "removing $$a manual pages" ; \ 93ebfedea0SLionel Sambuc while read x ; do \ 94ebfedea0SLionel Sambuc section=`echo "$$x" | sed 's/.*\.\([0-9]\)/\1/'` ; \ 95ebfedea0SLionel Sambuc base=`basename $$x` ; \ 96ebfedea0SLionel Sambuc rm "$(DESTDIR)$(mandir)/man$$section/$$base" ; \ 97ebfedea0SLionel Sambuc done < $$f ; \ 98ebfedea0SLionel Sambuc done 99ebfedea0SLionel Sambuc 100ebfedea0SLionel Sambuc 101ebfedea0SLionel Sambucheimdal_TEXINFOS = \ 102ebfedea0SLionel Sambuc ack.texi \ 103ebfedea0SLionel Sambuc apps.texi \ 104ebfedea0SLionel Sambuc copyright.texi \ 105ebfedea0SLionel Sambuc heimdal.texi \ 106ebfedea0SLionel Sambuc install.texi \ 107ebfedea0SLionel Sambuc intro.texi \ 108ebfedea0SLionel Sambuc kerberos4.texi \ 109ebfedea0SLionel Sambuc migration.texi \ 110ebfedea0SLionel Sambuc misc.texi \ 111ebfedea0SLionel Sambuc programming.texi \ 112ebfedea0SLionel Sambuc setup.texi \ 113ebfedea0SLionel Sambuc vars.texi \ 114ebfedea0SLionel Sambuc whatis.texi \ 115ebfedea0SLionel Sambuc win2k.texi 116ebfedea0SLionel Sambuc 117ebfedea0SLionel SambucEXTRA_DIST = \ 118*0a6a1f1dSLionel Sambuc NTMakefile \ 119ebfedea0SLionel Sambuc doxyout \ 120ebfedea0SLionel Sambuc footer.html \ 121ebfedea0SLionel Sambuc gssapi.din \ 122ebfedea0SLionel Sambuc hdb.din \ 123ebfedea0SLionel Sambuc hcrypto.din \ 124ebfedea0SLionel Sambuc header.html \ 125ebfedea0SLionel Sambuc heimdal.css \ 126ebfedea0SLionel Sambuc hx509.din \ 127ebfedea0SLionel Sambuc krb5.din \ 128ebfedea0SLionel Sambuc ntlm.din \ 129ebfedea0SLionel Sambuc init-creds \ 130ebfedea0SLionel Sambuc latin1.tex \ 131ebfedea0SLionel Sambuc layman.asc \ 132ebfedea0SLionel Sambuc doxytmpl.dxy \ 133ebfedea0SLionel Sambuc wind.din \ 134ebfedea0SLionel Sambuc vars.tin 135ebfedea0SLionel Sambuc 136ebfedea0SLionel SambucCLEANFILES = \ 137ebfedea0SLionel Sambuc hcrypto.dxy* \ 138ebfedea0SLionel Sambuc hx509.dxy* \ 139ebfedea0SLionel Sambuc hdb.dxy* \ 140ebfedea0SLionel Sambuc gssapi.dxy* \ 141ebfedea0SLionel Sambuc krb5.dxy* \ 142ebfedea0SLionel Sambuc ntlm.dxy* \ 143ebfedea0SLionel Sambuc wind.dxy* \ 144ebfedea0SLionel Sambuc vars.texi* 145