X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2FMakefile.am;h=80b49dca7186ca240e90fbd9db4f45a91306a009;hb=1b59302c8003251955f2850039f463dd63c6dff3;hp=7bc45ad97a0f4aff9e2980bd246dee0898adcfe7;hpb=c6e47cbbff56f39f6d81b079ebaeac41d793d4d9;p=yaz-moved-to-github.git diff --git a/doc/Makefile.am b/doc/Makefile.am index 7bc45ad..80b49dc 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,4 +1,4 @@ -## $Id: Makefile.am,v 1.49 2003-10-27 12:21:24 adam Exp $ +## $Id: Makefile.am,v 1.53 2004-04-22 18:44:40 adam Exp $ docdir=$(datadir)/doc/@PACKAGE@ @@ -19,21 +19,21 @@ HTMLFILES = \ odr.programming.html odr.use.html server.backendfunctions.html \ server.backend.html server.frontend.html server.html server.invocation.html \ server.main.html soap.html soap.http.html soap.xml.html soap.srw.html \ - tools.html tools.nmem.html tools.oid.html yaz.html \ + tools.html tools.marc.html tools.nmem.html tools.oid.html yaz.html \ zoom.events.html zoom.html zoom.options.html zoom.query.html \ zoom.records.html zoom.resultsets.html zoom.scan.html MANFILES=yaz-client.1 yaz-client-ssl.1 yaz-ztest.8 \ yaz-ztest-ssl.8 yaz-config.8 yaz.7 zoomsh.1 yaz-asncomp.1 \ - yaz-marcdump.1 + yaz-marcdump.1 yaz-iconv.1 REFFILES=yaz-client-man.xml yaz-ztest-man.xml yaz-config-man.xml \ yaz-man.xml zoomsh-man.xml yaz-asncomp-man.xml \ - yaz-marcdump-man.xml + yaz-marcdump-man.xml yaz-iconv-man.xml SUPPORTFILES=yazhtml.dsl yazphp.dsl yazprint.dsl tkl.xsl xml.dcl id.eps \ - apilayer.obj + apilayer.obj yaz.css -doc_DATA = $(HTMLFILES) yaz.pdf id.png apilayer.png +doc_DATA = $(HTMLFILES) yaz.pdf id.png apilayer.png yaz.css man_MANS = $(MANFILES) EXTRA_DIST = $(XMLFILES) $(SUPPORTFILES) $(man_MANS) $(REFFILES) \ @@ -66,6 +66,9 @@ yaz-asncomp.1: yaz-asncomp-man.xml yaz-marcdump.1: yaz-marcdump-man.xml docbook2man $(srcdir)/yaz-marcdump-man.xml +yaz-iconv.1: yaz-iconv-man.xml + docbook2man $(srcdir)/yaz-iconv-man.xml + $(HTMLFILES): $(XMLFILES) jade -E14 -D $(srcdir) -d yazhtml.dsl -t sgml $(srcdir)/xml.dcl yaz.xml @@ -87,3 +90,19 @@ apilayer.png: tgif -print -xbm apilayer.obj xbmtopbm apilayer.png +dist-hook: + for f in $(srcdir)/*.html; do \ + found=0; \ + b=`basename $$f`; \ + for h in $(HTMLFILES); do \ + if test "$$h" = "$$b"; then \ + found=1; \ + fi \ + done; \ + if test "$$found" = "0"; then \ + echo "$$h not found in HTMLFILES"; \ + exit 1; \ + fi \ + done + +