X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=doc%2FMakefile.am;h=bafe70068f1a7857e7142a3bc362f34e0250ff66;hb=998310ee5a6977da8d5852eecfd6557ef65eaf40;hp=95ba6de7d2aec2066e044fafb6997fb716b4f3fd;hpb=9678d9d8907d188f75473ff18c2fc7d914329cb2;p=metaproxy-moved-to-github.git diff --git a/doc/Makefile.am b/doc/Makefile.am index 95ba6de..bafe700 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,6 +1,3 @@ -## $Id: Makefile.am,v 1.37 2007-01-25 10:35:05 adam Exp $ -docdir=$(datadir)/doc/@PACKAGE@ - SUBDIRS = common SUFFIXES=.3mp .1 .pdf .tkl .esp .xml @@ -40,7 +37,7 @@ MANFILES = metaproxy.1 \ multi.3mp query_rewrite.3mp \ record_transform.3mp\ session_shared.3mp \ - sru_z3950.xml\ + sru_z3950.3mp \ template.3mp \ virt_db.3mp \ z3950_client.3mp \ @@ -76,7 +73,7 @@ metaproxy.pdf: $(XMLFILES) multi.pdf for i in $(PNGFILES) common/id.png multi.pdf; do \ if test ! -f $$i; then cp $(srcdir)/$$i $$i; fi; \ done - dblatex $(MAINXML) + $(PDF_COMPILE) $(MAINXML) mv book.pdf metaproxy.pdf metaproxyj.pdf: $(XMLFILES) multi.pdf @@ -96,10 +93,10 @@ manref.xml: $(XMLMAN) $(srcdir)/common/stripref.xsl done multi.png: multi.svg - inkscape --export-png=$@ --export-width=800 --export-area-drawing $? + unset DISPLAY; inkscape --export-png=$@ --export-area=0:0:1050:500 $? multi.eps: multi.svg - inkscape --export-eps=$@ --export-bbox-page $? + unset DISPLAY; inkscape --export-eps=$@ --export-bbox-page $? .eps.pdf: epstopdf -hires $? @@ -114,12 +111,15 @@ dist-hook: cp $$p $(distdir); \ done +doc-clean: + rm -f *.html *.[0-9] *.?mp *.pdf *.tkl + install-data-hook: 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)