Update to new ID URLs
[yazpp-moved-to-github.git] / doc / Makefile.am
index f6179d7..42a49a0 100644 (file)
@@ -1,4 +1,3 @@
-## $Id: Makefile.am,v 1.27 2007-07-10 09:41:38 adam Exp $
 SUBDIRS = common
 
 XMLFILES = \
@@ -36,11 +35,7 @@ yazpp-config.8: yazpp-config-man.xml
 
 yazpp.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 yazpp.tex >pdfjadetex.log 2>&1
-       pdfjadetex yazpp.tex >pdfjadetex.log 2>&1
-       pdfjadetex yazpp.tex >pdfjadetex.log 2>&1
-
+       $(PDF_COMPILE) $(TOP)
 
 clean-data-hook:
        rm -f [0-9]* *.bak
@@ -51,6 +46,9 @@ 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 \
@@ -58,4 +56,4 @@ install-data-hook:
        done
 
 uninstall-hook:
-       rm -r $(DESTDIR)/$(docdir)
+       rm -r $(DESTDIR)$(docdir)