Fix install doc rule for Automake 1.11
[yazproxy-moved-to-github.git] / doc / Makefile.am
index bd82051..eb92b81 100644 (file)
@@ -1,4 +1,3 @@
-## $Id: Makefile.am,v 1.17 2007-06-17 07:06:32 adam Exp $
 SUBDIRS = common
 
 XMLFILES = \
@@ -34,11 +33,7 @@ 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)
-       pdfjadetex yazproxy.tex >pdfjadetex.log 2>&1
-       pdfjadetex yazproxy.tex >pdfjadetex.log 2>&1
-       pdfjadetex yazproxy.tex >pdfjadetex.log 2>&1
+       $(PDF_COMPILE) $(TOP)
 
 clean-data-hook:
        rm -f [0-9]* *.bak
@@ -52,8 +47,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); \
+               $(INSTALL_DATA) $$p $(DESTDIR)$(docdir); \
        done
 
 uninstall-hook:
-       rm -r $(DESTDIR)/$(docdir)
+       rm -r $(DESTDIR)$(docdir)