X-Git-Url: http://git.indexdata.com/?p=yazpp-moved-to-github.git;a=blobdiff_plain;f=doc%2FMakefile.am;h=8a6715113402dfefd7023a4debd3ea90795b12df;hp=cdfe72883fe04a7534d080af1d25cdba33ab6981;hb=0e003c1f98eb27d793ddaa2579f286c2cea6d066;hpb=0ae7eb1f7101c29d5c088bf40aa26abc50c57913 diff --git a/doc/Makefile.am b/doc/Makefile.am index cdfe728..8a67151 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,43 +1,30 @@ -## $Id: Makefile.am,v 1.12 2004-03-30 22:26:16 adam Exp $ +## $Id: Makefile.am,v 1.20 2006-05-26 19:46:37 adam Exp $ docdir=$(datadir)/doc/@PACKAGE@ -SUPPORTFILES = \ - yazhtml.dsl.in \ - yazphp.dsl.in \ - yazprint.dsl.in \ - tkl.xsl.in \ - xml.dcl +SUBDIRS = common + XMLFILES = \ + introduction.xml \ installation.xml \ zoom.xml \ - proxy.xml \ api.xml \ - yaz-proxy-ref.xml \ - yaz-proxy-man.sgml \ license.xml \ - yaz++.xml.in - -TOP=yaz++.xml -MANFILES=yaz-proxy.8 + yazpp.xml.in + +TOP = yazpp.xml + +MANFILES = yazpp-config.8 + +REFFILES = yazpp-config-man.xml + HTMLFILES = \ api.html \ implementations.html \ + index.html \ installation.html \ + introduction.html \ license.html \ - other-optimizations.html \ - otherinfo-encoding.html \ - proxy-config-file.html \ - proxy-keepalive.html \ - proxy-target.html \ - proxy-usage.html \ - proxy.html \ - query-cache.html \ - query-validation.html \ - record-cache.html \ - record-validation.html \ windows.html \ - yaz-proxy.html \ - yazpp.html \ zoom-connection.html \ zoom-exception.html \ zoom-query.html \ @@ -45,30 +32,43 @@ HTMLFILES = \ zoom-resultset.html \ zoom.html -doc_DATA = $(HTMLFILES) yaz++.pdf yaz.css +doc_DATA = $(HTMLFILES) man_MANS = $(MANFILES) -EXTRA_DIST = $(SUPPORTFILES) $(XMLFILES) $(doc_DATA) $(man_MANS) +EXTRA_DIST = $(XMLFILES) $(doc_DATA) $(man_MANS) $(REFFILES) entities.ent $(HTMLFILES): $(XMLFILES) - jade -E14 -D $(srcdir) -d yazhtml.dsl -t sgml $(srcdir)/xml.dcl $(TOP) - -yaz-proxy.8: yaz-proxy-man.sgml yaz-proxy-ref.xml - docbook2man $(srcdir)/yaz-proxy-man.sgml + xsltproc common/html.xsl $(TOP) -yazpp.php: $(XMLFILES) - jade -E14 -D $(srcdir) -d yazphp.dsl -t sgml $(srcdir)/xml.dcl $(TOP) +yazpp.pdf: $(XMLFILES) + if test ! -f common/id.png ; then cp $(srcdir)/common/id.png common/; fi + jade -E14 -D $(srcdir) -d common/print.dsl -t tex $(srcdir)/common/xml.dcl $(TOP) + pdfjadetex yazpp.tex >pdfjadetex.log 2>&1 + pdfjadetex yazpp.tex >pdfjadetex.log 2>&1 + pdfjadetex yazpp.tex >pdfjadetex.log 2>&1 -yaz++.pdf: $(XMLFILES) - jade -E14 -D $(srcdir) -d yazprint.dsl -t tex $(srcdir)/xml.dcl $(TOP) - pdfjadetex yaz++.tex - pdfjadetex yaz++.tex - pdfjadetex yaz++.tex +index.tkl: $(XMLFILES) common/tkl.xsl + xsltproc common/tkl.xsl $(TOP) -index.tkl: $(XMLFILES) tkl.xsl - xsltproc tkl.xsl $(TOP) +yazpp-config.8: yazpp-config-man.xml + xsltproc common/man.xsl $(srcdir)/yazpp-config-man.xml clean-data-hook: rm -f [0-9]* *.bak +dist-hook: + for f in *.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 +