X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2FMakefile.am;h=c59e78ff91626d63008f57dfc7de8d6d87023f62;hb=cc9f94a61cbd9dcc0df0cf7d0c7c41d2cec88189;hp=d3c5fdc38294902d971564af22db892a9851f41b;hpb=dd8372e3f27c68a0410f13044dd184ccde8ca243;p=idzebra-moved-to-github.git diff --git a/doc/Makefile.am b/doc/Makefile.am index d3c5fdc..c59e78f 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,24 +1,39 @@ -## $Id: Makefile.am,v 1.5 2002-04-08 19:52:29 adam Exp $ -docdir=$(pkgdatadir)/doc - -doc_data = zebra.pdf zebra.html - -SUPPORTFILES = zebrahtml.dsl.in zebraprint.dsl.in xml.dsl -XMLFILES=administration.xml installation.xml introduction.xml \ - license.xml indexdata.xml +## $Id: Makefile.am,v 1.10 2002-06-02 19:30:07 adam Exp $ +docdir=$(datadir)/doc/@PACKAGE@ + +doc_DATA = zebra.html zebra.pdf + +SUPPORTFILES = \ + zebrahtml.dsl.in \ + zebraphp.dsl.in \ + zebraprint.dsl.in \ + xml.dcl +XMLFILES = \ + zebra.xml.in \ + introduction.xml \ + installation.xml \ + quickstart.xml \ + administration.xml \ + zebraidx.xml \ + server.xml \ + recordmodel.xml \ + license.xml \ + indexdata.xml -EXTRA_DIST = zebra.sgml gils.sgml zebra.txt zebra.ps zebra.html \ - zebra-1.html zebra-2.html zebra-3.html zebra-4.html zebra-5.html \ - zebra-6.html zebra-7.html zebra-8.html zebra-9.html \ - zebra.xml.in $(SUPPORTFILES) +EXTRA_DIST = $(SUPPORTFILES) $(XMLFILES) zebra.pdf -zebra.html: zebra.xml $(XMLFILES) +install-data-hook: + for f in *.html; do \ + $(INSTALL_DATA) $$f $(DESTDIR)$(docdir)/$$f; \ + done + +zebra.html: $(XMLFILES) jade -E14 -d zebrahtml.dsl -t sgml xml.dcl zebra.xml -zebra.php: zebra.xml $(XMLFILES) +zebra.php: $(XMLFILES) jade -E14 -d zebraphp.dsl -t sgml xml.dcl zebra.xml -zebra.pdf: zebra.xml +zebra.pdf: $(XMLFILES) jade -E14 -d zebraprint.dsl -t tex xml.dcl zebra.xml pdfjadetex zebra.tex pdfjadetex zebra.tex @@ -33,6 +48,9 @@ gils.ps: gils.sgml gils.html: gils.sgml sgml2html gils.sgml -clean-hook: +dist-hook: zebra.html + cp -f $(srcdir)/*.html $(distdir) + +clean-data-hook: rm -f [0-9]* *.bak