X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2FMakefile.am;h=956deee966035d2f636d295936971863e8ee5ed6;hb=7d2e837262bb9d7b393cf01a6c5f8b079add3d11;hp=238b2c364cdced90ac5d3eac19648027a8906e26;hpb=080ae4a565fb895f3c1f3b3bf11cff6867718418;p=idzebra-moved-to-github.git diff --git a/doc/Makefile.am b/doc/Makefile.am index 238b2c3..956deee 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,12 +1,12 @@ -## $Id: Makefile.am,v 1.73 2007-07-10 09:41:12 adam Exp $ SUBDIRS = common +docdir=$(datadir)/doc/$(PACKAGE)$(PACKAGE_SUFFIX) + XMLMAN = zebraidx.xml zebrasrv.xml idzebra-config.xml XMLFILES = \ administration.xml \ architecture.xml \ - examples.xml \ field-structure.xml \ indexdata.xml \ installation.xml \ @@ -14,16 +14,20 @@ XMLFILES = \ license.xml \ marc_indexing.xml \ querymodel.xml \ - quickstart.xml \ recordmodel-domxml.xml \ recordmodel-alvisxslt.xml \ recordmodel-grs.xml \ manref.xml \ + tutorial.xml \ zebra.xml \ zebrasrv-options.xml \ zebrasrv-synopsis.xml \ zebrasrv-virtual.xml +#examples.xml +#quickstart.xml + + HTMLFILES = index.html PNGFILES = zebra.png domfilter.png @@ -67,7 +71,7 @@ zebra.pdf: $(XMLFILES) domfilter.pdf for i in $(PNGFILES); do \ if test ! -f $$i; then cp $(srcdir)/$$i .; fi; \ done - dblatex $(srcdir)/zebra.xml + $(PDF_COMPILE) $(srcdir)/zebra.xml manref.xml: $(XMLMAN) $(srcdir)/common/ref2dbinc.xsl rm -f manref.xml @@ -103,13 +107,16 @@ install-data-hook: done uninstall-hook: - rm -r $(DESTDIR)/$(docdir) + rm -r $(DESTDIR)$(docdir) domfilter.png: domfilter.svg - inkscape --export-png=$@ --export-width=600 $? + unset DISPLAY; inkscape --export-png=$@ --export-width=600 $? domfilter.eps: domfilter.svg - inkscape --export-eps=$@ --export-bbox-page $? + unset DISPLAY; inkscape --export-eps=$@ --export-bbox-page $? + +doc-clean: + rm -f *.html *.pdf *.[0-9] domfilter.png domfilter.eps .eps.pdf: epstopdf -hires $?