X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2FMakefile.am;h=956deee966035d2f636d295936971863e8ee5ed6;hb=7d2e837262bb9d7b393cf01a6c5f8b079add3d11;hp=8c92e8b5032b14704957d4d783818d5fefd4a5ac;hpb=0abddc11543465c41fb86921552ab6b42f2f323f;p=idzebra-moved-to-github.git diff --git a/doc/Makefile.am b/doc/Makefile.am index 8c92e8b..956deee 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,14 +1,12 @@ -## $Id: Makefile.am,v 1.71 2007-02-23 09:35:17 adam Exp $ -docdir=$(datadir)/doc/$(PACKAGE)$(PACKAGE_SUFFIX) - 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 \ @@ -16,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 @@ -69,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 @@ -101,17 +103,20 @@ install-data-hook: cd $(DESTDIR)$(man1dir) && ln -sf idzebra-config$(PACKAGE_SUFFIX).1 idzebra-config.1 if test -f index.html; then d=.; else d="$(srcdir)"; fi; \ for p in $$d/*.html; do \ - $(docDATA_INSTALL) $$p $(DESTDIR)/$(docdir); \ + $(docDATA_INSTALL) $$p $(DESTDIR)$(docdir); \ 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 $?