X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2FMakefile.am;h=a342f8a94c58e5e198b692cbb5c0b814b2d2f1b5;hb=85a1ec4eb983744107e98378be5f3a1d0c33ef52;hp=4a485c47b1b21cee7317d93990e8c7c8ce146a0a;hpb=5d73d6c1e27e6c2431c852fe99f025433a8a822b;p=yaz-moved-to-github.git diff --git a/doc/Makefile.am b/doc/Makefile.am index 4a485c4..a342f8a 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,4 +1,4 @@ -## $Id: Makefile.am,v 1.72 2006-09-04 12:43:45 adam Exp $ +## $Id: Makefile.am,v 1.76 2006-12-13 09:40:32 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 @@ -75,13 +75,19 @@ apilayer.png: xbmtopbm apilayer.png dist-hook: - if test -d index.html; then d=.; else d="$(srcdir)"; fi; \ + if test -f index.html; then d=.; else d="$(srcdir)"; fi; \ for p in $$d/*.html; do \ cp $$p $(distdir); \ done +doc-clean: + rm -f *.html *.[0-9] *.pdf *.tkl + install-data-hook: - if test -d index.html; then d=.; else d="$(srcdir)"; fi; \ + 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)