X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=doc%2FMakefile.am;h=068c69f37a5c732dfd1fa2a10fbfa6f5927d9c42;hb=28d0fdb9253a14f8117b5c26ea0aed73ba9d16a7;hp=001d575f83abecb7d9b8a1ecf043425d7244ad75;hpb=b00064c85119fb3a6ca07f809f41d8f97f192165;p=idzebra-moved-to-github.git diff --git a/doc/Makefile.am b/doc/Makefile.am index 001d575..068c69f 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,4 +1,4 @@ -## $Id: Makefile.am,v 1.64 2007-02-20 14:28:31 marc Exp $ +## $Id: Makefile.am,v 1.67 2007-02-21 17:03:23 adam Exp $ docdir=$(datadir)/doc/$(PACKAGE)$(PACKAGE_SUFFIX) SUBDIRS = common @@ -28,19 +28,21 @@ XMLFILES = \ HTMLFILES = index.html -PNGFILES=zebra.png +PNGFILES=zebra.png domfilter.png EPSFILES=zebra.eps +PDFFILES=zebra.pdf domfilter.pdf + MANFILES=zebraidx$(PACKAGE_SUFFIX).1 \ zebrasrv$(PACKAGE_SUFFIX).8 \ idzebra-config$(PACKAGE_SUFFIX).1 -doc_DATA = $(HTMLFILES) $(PNGFILES) +doc_DATA = $(HTMLFILES) $(PNGFILES) $(PDFFILES) man_MANS = $(MANFILES) EXTRA_DIST = $(XMLFILES) $(XMLMAN) \ $(doc_DATA) $(EPSFILES) $(man_MANS) \ - marc_indexing.xml entities.ent local.ent.in + marc_indexing.xml entities.ent local.ent.in domfilter.svg zebraidx$(PACKAGE_SUFFIX).1: zebraidx.xml $(MAN_COMPILE) $(srcdir)/zebraidx.xml @@ -63,7 +65,7 @@ index.tkl: $(XMLFILES) rm -f *.tkl $(TKL_COMPILE) $(srcdir)/zebra.xml -zebra.pdf: $(XMLFILES) +zebra.pdf: $(XMLFILES) domfilter.pdf for i in $(PNGFILES); do \ if test ! -f $$i; then cp $(srcdir)/$$i .; fi; \ done @@ -105,3 +107,12 @@ install-data-hook: uninstall-hook: rm -r $(DESTDIR)/$(docdir) +domfilter.png: domfilter.svg + inkscape --export-png=$@ --export-width=600 --export-area-drawing $? + +domfilter.eps: domfilter.svg + inkscape --export-eps=$@ --export-bbox-page $? + +.eps.pdf: + epstopdf -hires $? +