X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2FMakefile.am;h=ae269afd1fe1eceb6563eaaf50708821fbdd34cc;hb=769b0ece6d1eb33e0f499c798cfff292c4f41053;hp=20c27098c35e58de946bb1eac11e374c977ecdbd;hpb=69da23537c6bb71ab948e079708bf8ea090de73f;p=idzebra-moved-to-github.git diff --git a/doc/Makefile.am b/doc/Makefile.am index 20c2709..ae269af 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,19 +1,61 @@ -# $Id: Makefile.am,v 1.1 2000-04-05 09:49:35 adam Exp $ -docdir=$(pkgdatadir)/doc +## $Id: Makefile.am,v 1.18 2002-11-08 13:23:52 adam Exp $ +docdir=$(datadir)/doc/@PACKAGE@ -doc_data = zebra.sgml gils.sgml +SUPPORTFILES = \ + zebrahtml.dsl.in \ + zebraphp.dsl.in \ + zebraprint.dsl.in \ + tkl.xsl.in \ + xml.dcl +XMLFILES = \ + zebra.xml.in \ + introduction.xml \ + installation.xml \ + quickstart.xml \ + examples.xml \ + administration.xml \ + zebraidx.xml \ + server.xml \ + recordmodel.xml \ + license.xml \ + indexdata.xml \ + zebraidx-options.xml -EXTRA_DIST = zebra.sgml gils.sgml +HTMLFILES = administration.html apps.html configuration-file.html \ + data-model.html example1.html example2.html examples.html features.html \ + file-ids.html formats.html future.html generic-ids.html indexdata.html \ + installation.html internal-representation.html introduction.html \ + license.html locating-records.html protocol-support.html quick-start.html \ + record-model.html register-location.html server.html shadow-registers.html \ + simple-indexing.html support.html zebra.html zebraidx.html -zebra.txt: zebra.sgml - sgml2txt -f zebra.sgml +doc_DATA = $(HTMLFILES) zebra.pdf +man_MANS = zebraidx.1 zebrasrv.8 -zebra.ps: zebra.sgml - sgml2latex -o ps -p a4 zebra.sgml +EXTRA_DIST = $(SUPPORTFILES) $(XMLFILES) zebra.pdf \ + $(man_MANS) zebraidx-man.sgml zebrasrv-man.sgml -zebra.html: zebra.sgml - sgml2html zebra.sgml +zebraidx.1: zebraidx-man.sgml zebraidx-options.xml + if test ! -f zebraidx-options.xml ; then ln -s $(srcdir)/zebraidx-options.xml .; fi + docbook2man $(srcdir)/zebraidx-man.sgml +zebrasrv.8: zebrasrv-man.sgml + docbook2man $(srcdir)/zebrasrv-man.sgml + +$(HTMLFILES): $(XMLFILES) + jade -E14 -D $(srcdir) -d zebrahtml.dsl -t sgml $(srcdir)/xml.dcl zebra.xml + +zebra.php: $(XMLFILES) + jade -E14 -D $(srcdir) -d zebraphp.dsl -t sgml $(srcdir)/xml.dcl zebra.xml + +zebra.pdf: $(XMLFILES) + jade -E14 -D $(srcdir) -d zebraprint.dsl -t tex $(srcdir)/xml.dcl zebra.xml + pdfjadetex zebra.tex + pdfjadetex zebra.tex + pdfjadetex zebra.tex + +index.tkl: $(XMLFILES) tkl.xsl + xsltproc tkl.xsl zebra.xml gils.txt: gils.sgml sgml2txt -f gils.sgml @@ -24,6 +66,9 @@ gils.ps: gils.sgml gils.html: gils.sgml sgml2html gils.sgml -clean-hook: +dist-hook: zebra.html + cp *.html $(distdir) + +clean-data-hook: rm -f [0-9]* *.bak - +