X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2FMakefile.am;h=ae269afd1fe1eceb6563eaaf50708821fbdd34cc;hb=0a5aa3b65fe14789bcada545a0e399545725d1ff;hp=671ede1400441d395f53c31a06b83ec5f7c6aec9;hpb=cd13985dc9d5335f6dc2f6b015407cc8dd5d8772;p=idzebra-moved-to-github.git diff --git a/doc/Makefile.am b/doc/Makefile.am index 671ede1..ae269af 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,13 +1,11 @@ -## $Id: Makefile.am,v 1.14 2002-09-25 09:50:20 adam Exp $ +## $Id: Makefile.am,v 1.18 2002-11-08 13:23:52 adam Exp $ docdir=$(datadir)/doc/@PACKAGE@ -doc_DATA = zebra.html zebra.pdf -man_MANS = zebraidx.1 zebrasrv.8 - SUPPORTFILES = \ zebrahtml.dsl.in \ zebraphp.dsl.in \ zebraprint.dsl.in \ + tkl.xsl.in \ xml.dcl XMLFILES = \ zebra.xml.in \ @@ -23,32 +21,42 @@ XMLFILES = \ indexdata.xml \ zebraidx-options.xml +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 + +doc_DATA = $(HTMLFILES) zebra.pdf +man_MANS = zebraidx.1 zebrasrv.8 + EXTRA_DIST = $(SUPPORTFILES) $(XMLFILES) zebra.pdf \ $(man_MANS) zebraidx-man.sgml zebrasrv-man.sgml -install-data-hook: - for f in $(srcdir)/*.html; do \ - $(INSTALL_DATA) $$f $(DESTDIR)$(docdir)/$$f; \ - done - zebraidx.1: zebraidx-man.sgml zebraidx-options.xml - cd $(srcdir); docbook2man zebraidx-man.sgml + if test ! -f zebraidx-options.xml ; then ln -s $(srcdir)/zebraidx-options.xml .; fi + docbook2man $(srcdir)/zebraidx-man.sgml zebrasrv.8: zebrasrv-man.sgml - cd $(srcdir); docbook2man zebrasrv-man.sgml + docbook2man $(srcdir)/zebrasrv-man.sgml -zebra.html: $(XMLFILES) - jade -E14 -d zebrahtml.dsl -t sgml xml.dcl zebra.xml +$(HTMLFILES): $(XMLFILES) + jade -E14 -D $(srcdir) -d zebrahtml.dsl -t sgml $(srcdir)/xml.dcl zebra.xml zebra.php: $(XMLFILES) - jade -E14 -d zebraphp.dsl -t sgml xml.dcl zebra.xml + jade -E14 -D $(srcdir) -d zebraphp.dsl -t sgml $(srcdir)/xml.dcl zebra.xml zebra.pdf: $(XMLFILES) - jade -E14 -d zebraprint.dsl -t tex xml.dcl zebra.xml + 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 @@ -59,7 +67,7 @@ gils.html: gils.sgml sgml2html gils.sgml dist-hook: zebra.html - cp -f $(srcdir)/*.html $(distdir) + cp *.html $(distdir) clean-data-hook: rm -f [0-9]* *.bak