-## $Id: Makefile.am,v 1.61 2006-09-07 10:02:29 adam Exp $
+## $Id: Makefile.am,v 1.69 2007-02-22 12:10:09 marc Exp $
docdir=$(datadir)/doc/$(PACKAGE)$(PACKAGE_SUFFIX)
SUBDIRS = common
marc_indexing.xml \
querymodel.xml \
quickstart.xml \
+ recordmodel-domxml.xml \
recordmodel-alvisxslt.xml \
recordmodel-grs.xml \
manref.xml \
HTMLFILES = index.html
-PNGFILES=zebra.png
-EPSFILES=zebra.eps
+PNGFILES=zebra.png domfilter.png
+EPSFILES=zebra.eps domfilter.eps
+PDFFILES=zebra.pdf domfilter.pdf
+
MANFILES=zebraidx$(PACKAGE_SUFFIX).1 \
zebrasrv$(PACKAGE_SUFFIX).8 \
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
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
- jade -E14 -D $(srcdir) -d common/print.dsl -t tex $(srcdir)/common/xml.dcl zebra.xml
- pdfjadetex zebra.tex >/dev/null
- pdfjadetex zebra.tex >/dev/null
- pdfjadetex zebra.tex >/dev/null
-
+ dblatex $(srcdir)/zebra.xml
manref.xml: $(XMLMAN) $(srcdir)/common/ref2dbinc.xsl
rm -f manref.xml
for p in $$d/*.html; do \
$(docDATA_INSTALL) $$p $(DESTDIR)/$(docdir); \
done
+
+uninstall-hook:
+ rm -r $(DESTDIR)/$(docdir)
+
+domfilter.png: domfilter.svg
+ inkscape --export-png=$@ --export-width=600 $?
+
+domfilter.eps: domfilter.svg
+ inkscape --export-eps=$@ --export-bbox-page $?
+
+.eps.pdf:
+ epstopdf -hires $?
+