X-Git-Url: http://git.indexdata.com/?p=yazproxy-moved-to-github.git;a=blobdiff_plain;f=doc%2FMakefile.am;h=e0c3f660707ece7c59f5586631ba9e76ddb4a860;hp=387eb918a60f318d782c5bfaa262a3bf48975bce;hb=01e4572abed524a61202861ac2c61d2fdcb821c7;hpb=001cad2892072a34313e0d3249e630abf8f6e93d diff --git a/doc/Makefile.am b/doc/Makefile.am index 387eb91..e0c3f66 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,6 +1,3 @@ -## $Id: Makefile.am,v 1.14 2006-09-07 10:06:56 adam Exp $ -docdir=$(datadir)/doc/@PACKAGE@ - SUBDIRS = common XMLFILES = \ @@ -32,10 +29,9 @@ $(HTMLFILES): $(XMLFILES) yazproxy.8: yaz-proxy-man.xml yaz-proxy-ref.xml $(MAN_COMPILE) $(srcdir)/yaz-proxy-man.xml -index.tkl: $(XMLFILES) common/tkl.xsl +index.tkl: $(XMLFILES) $(TKL_COMPILE) $(TOP) - yazproxy.pdf: $(XMLFILES) if test ! -f common/id.png ; then cp $(srcdir)/common/id.png common; fi jade -E14 -D $(srcdir) -d common/print.dsl -t tex $(srcdir)/common/xml.dcl $(TOP) @@ -55,5 +51,8 @@ dist-hook: 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); \ + $(docDATA_INSTALL) $$p $(DESTDIR)$(docdir); \ done + +uninstall-hook: + rm -r $(DESTDIR)$(docdir)