X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2FMakefile.am;h=725e24ce77e76fcc38879f4ed369dc82dbe14b9c;hb=4b3707d52e5d6fbf0e6353086d4c42e67d92319d;hp=671ede1400441d395f53c31a06b83ec5f7c6aec9;hpb=cd13985dc9d5335f6dc2f6b015407cc8dd5d8772;p=idzebra-moved-to-github.git diff --git a/doc/Makefile.am b/doc/Makefile.am index 671ede1..725e24c 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.21 2003-05-19 21:38:40 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,54 @@ XMLFILES = \ indexdata.xml \ zebraidx-options.xml -EXTRA_DIST = $(SUPPORTFILES) $(XMLFILES) zebra.pdf \ - $(man_MANS) zebraidx-man.sgml zebrasrv-man.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 \ + installation.win32.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 -install-data-hook: - for f in $(srcdir)/*.html; do \ - $(INSTALL_DATA) $$f $(DESTDIR)$(docdir)/$$f; \ - done +PNGFILES=zebra.png +EPSFILES=zebra.eps + +MANFILES=zebraidx.1 zebrasrv.8 + +REFFILES=zebraidx-man.sgml zebrasrv-man.sgml + +doc_DATA = $(HTMLFILES) zebra.pdf $(PNGFILES) +man_MANS = $(MANFILES) + +EXTRA_DIST = $(XMLFILES) $(SUPPORTFILES) $(REFFILES) \ + $(doc_DATA) $(EPSFILES) $(man_MANS) $(REFFILES) \ + zvrank.txt marc_indexing.xml 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 + for i in $(PNGFILES); do \ + if test ! -f $$i; then ln -s $(srcdir)/$$i .; fi; \ + done + 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 @@ -58,8 +78,8 @@ gils.ps: gils.sgml gils.html: gils.sgml sgml2html gils.sgml -dist-hook: zebra.html - cp -f $(srcdir)/*.html $(distdir) +#dist-hook: zebra.html +# cp *.html $(distdir) clean-data-hook: rm -f [0-9]* *.bak