X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2FMakefile.am;h=8cf283a59af9c003448b4d35fb7b0a14d6924504;hb=23511a86ab565d5a4ce3c8f5924a49e9d310ba98;hp=d9332a4d917b8074a04cc2890f33bc2f50fa5fe7;hpb=8aa33c5962490e6f5609853a26512267f287f8d4;p=yaz-moved-to-github.git diff --git a/doc/Makefile.am b/doc/Makefile.am index d9332a4..8cf283a 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,4 +1,4 @@ -## $Id: Makefile.am,v 1.73 2006-09-07 10:01:50 adam Exp $ +## $Id: Makefile.am,v 1.78 2007-01-22 12:14:09 adam Exp $ docdir=$(datadir)/doc/@PACKAGE@ @@ -7,7 +7,7 @@ SUBDIRS = common 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 \ + 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 HTMLFILES = index.html @@ -63,12 +63,16 @@ index.tkl: $(XMLFILES) $(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 @@ -80,8 +84,14 @@ dist-hook: 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)