-## $Id: Makefile.am,v 1.73 2006-09-07 10:01:50 adam Exp $
+## $Id: Makefile.am,v 1.79 2007-05-07 13:18:32 adam Exp $
docdir=$(datadir)/doc/@PACKAGE@
XMLFILES=bookinfo.xml introduction.xml installation.xml \
indexdata.xml \
asn.xml tools.xml odr.xml comstack.xml frontend.xml license.xml \
- future.xml client.xml zoom.xml credits.xml gfs-options.xml \
- yaz.xml yaz-client-commands.xml soap.xml gfs-virtual.xml gfs-synopsis.xml
+ future.xml client.xml ziffy.xml zoom.xml credits.xml gfs-options.xml \
+ yaz.xml yaz-client-commands.xml soap.xml gfs-virtual.xml gfs-synopsis.xml \
+ std-oid-table.xml
HTMLFILES = index.html
EXTRA_DIST = $(XMLFILES) $(SUPPORTFILES) $(man_MANS) $(REFFILES) \
$(doc_DATA)
+std-oid-table.xml: $(srcdir)/../src/oid.csv
+ $(TCLSH) $(srcdir)/../src/oidtoc.tcl $(srcdir) $(srcdir)/../src/oid.csv std-oid-table.xml
+
yaz-client.1: $(srcdir)/yaz-client-man.xml $(srcdir)/yaz-client-commands.xml
$(MAN_COMPILE) $(srcdir)/yaz-client-man.xml
$(TKL_COMPILE) $(srcdir)/yaz.xml
yaz.pdf: $(XMLFILES)
- if test ! -f common/id.png ; then cp $(srcdir)/common/id.png common; fi
- if test ! -f apilayer.png ; then cp $(srcdir)/apilayer.png .; fi
+ dblatex $(srcdir)/yaz.xml
+
+
+yazj.pdf:
jade -E14 -D $(srcdir) -d common/print.dsl -t tex $(srcdir)/common/xml.dcl $(srcdir)/yaz.xml
- pdfjadetex yaz.tex
- pdfjadetex yaz.tex >/dev/null
- pdfjadetex yaz.tex >/dev/null
+ rm -f yazj.pdf
+ cp yaz.tex yazj.tex
+ pdfjadetex yazj.tex
+ pdfjadetex yazj.tex >/dev/null
+ pdfjadetex yazj.tex >/dev/null
apilayer.png:
tgif -print -xbm apilayer.obj
cp $$p $(distdir); \
done
+doc-clean:
+ rm -f *.html *.[0-9] *.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); \
done
+
+uninstall-hook:
+ rm -r $(DESTDIR)/$(docdir)