Towards 3.0.4
[yaz-moved-to-github.git] / doc / Makefile.am
index ead08fe..5bc421a 100644 (file)
@@ -1,4 +1,4 @@
-## $Id: Makefile.am,v 1.77 2007-01-19 16:08:33 adam Exp $
+## $Id: Makefile.am,v 1.79 2007-05-07 13:18:32 adam Exp $
 
 docdir=$(datadir)/doc/@PACKAGE@
 
@@ -8,7 +8,8 @@ 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 ziffy.xml zoom.xml credits.xml gfs-options.xml \
- yaz.xml yaz-client-commands.xml soap.xml gfs-virtual.xml gfs-synopsis.xml
+ yaz.xml yaz-client-commands.xml soap.xml gfs-virtual.xml gfs-synopsis.xml \
+ std-oid-table.xml
 
 HTMLFILES = index.html
 
@@ -27,6 +28,9 @@ man_MANS = $(MANFILES)
 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
 
@@ -65,6 +69,15 @@ index.tkl: $(XMLFILES)
 yaz.pdf: $(XMLFILES)
        dblatex $(srcdir)/yaz.xml
 
+
+yazj.pdf:
+       jade -E14 -D $(srcdir) -d common/print.dsl -t tex $(srcdir)/common/xml.dcl $(srcdir)/yaz.xml
+       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
        xbmtopbm <apilayer.xbm|pnmtopng >apilayer.png