X-Git-Url: http://git.indexdata.com/?p=yazproxy-moved-to-github.git;a=blobdiff_plain;f=doc%2FMakefile.am;h=63089fb0514de4ca5c1e75c0fa72cdd4282a795b;hp=3d21a54601ecac972e15e527759cc421a1f8f098;hb=9b8dda8226cff9fb0ee5bf8d7c0e88e9613df63e;hpb=58e0a4ac0ee6ddc4bd6be83414bc54d9bf329599 diff --git a/doc/Makefile.am b/doc/Makefile.am index 3d21a54..63089fb 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,67 +1,57 @@ -## $Id: Makefile.am,v 1.4 2004-04-11 14:58:02 adam Exp $ -docdir=$(datadir)/doc/@PACKAGE@ +SUBDIRS = common -SUPPORTFILES = \ - yazhtml.dsl.in \ - yazphp.dsl.in \ - yazprint.dsl.in \ - tkl.xsl.in \ - xml.dcl XMLFILES = \ introduction.xml \ installation.xml \ - proxy.xml \ + reference.xml \ + using.xml \ yaz-proxy-ref.xml \ - yaz-proxy-man.sgml \ + yaz-proxy-man.xml \ license.xml \ - yazproxy.xml.in + yazproxy.xml -TOP=yazproxy.xml -MANFILES=yazproxy.8 -HTMLFILES = \ - 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 \ - yazproxy-ref.html \ - yazproxy.html +TOP = $(srcdir)/yazproxy.xml -doc_DATA = $(HTMLFILES) yazproxy.pdf id.png yaz.css +MANFILES = yazproxy.8 + +HTMLFILES = index.html + +doc_DATA = $(HTMLFILES) man_MANS = $(MANFILES) -EXTRA_DIST = $(SUPPORTFILES) $(XMLFILES) $(doc_DATA) $(man_MANS) +EXTRA_DIST = $(XMLFILES) $(doc_DATA) $(man_MANS) entities.ent local.ent $(HTMLFILES): $(XMLFILES) - jade -E14 -D $(srcdir) -d yazhtml.dsl -t sgml $(srcdir)/xml.dcl $(TOP) + rm -f *.html + $(HTML_COMPILE) $(TOP) -yazproxy.8: yaz-proxy-man.sgml yaz-proxy-ref.xml - docbook2man $(srcdir)/yaz-proxy-man.sgml +yazproxy.8: yaz-proxy-man.xml yaz-proxy-ref.xml + $(MAN_COMPILE) $(srcdir)/yaz-proxy-man.xml -yazproxy.php: $(XMLFILES) - jade -E14 -D $(srcdir) -d yazphp.dsl -t sgml $(srcdir)/xml.dcl $(TOP) +index.tkl: $(XMLFILES) + $(TKL_COMPILE) $(TOP) yazproxy.pdf: $(XMLFILES) - if test ! -f id.png ; then ln -s $(srcdir)/id.png .; fi - jade -E14 -D $(srcdir) -d yazprint.dsl -t tex $(srcdir)/xml.dcl $(TOP) - pdfjadetex yazproxy.tex >pdfjadetex.log 2>&1 - pdfjadetex yazproxy.tex >pdfjadetex.log 2>&1 - pdfjadetex yazproxy.tex >pdfjadetex.log 2>&1 - -index.tkl: $(XMLFILES) tkl.xsl - xsltproc tkl.xsl $(TOP) + $(PDF_COMPILE) $(TOP) clean-data-hook: rm -f [0-9]* *.bak +dist-hook: + if test -f index.html; then d=.; else d="$(srcdir)"; fi; \ + for p in $$d/*.html; do \ + cp $$p $(distdir); \ + done + +doc-clean: + rm -f manref.xml *.html *.[0-9] *.pdf + +install-data-hook: + if test -f index.html; then d=.; else d="$(srcdir)"; fi; \ + for p in $$d/*.html; do \ + $(INSTALL_DATA) $$p $(DESTDIR)$(docdir); \ + done + +uninstall-hook: + rm -r $(DESTDIR)$(docdir)