X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=doc%2FMakefile.am;h=28945d22480b5ae92a725791c62b385b867356f8;hb=5b172c484238c964c547e7e45fb3c836f2d66fe5;hp=db7a4f2612d16b31ceba03edb9515f1179cd7c88;hpb=e4b6e06627a3c35bec54127767ef7b98686d02e4;p=yazpp-moved-to-github.git diff --git a/doc/Makefile.am b/doc/Makefile.am index db7a4f2..28945d2 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,6 +1,3 @@ -## $Id: Makefile.am,v 1.25 2006-11-27 11:34:52 adam Exp $ -docdir=$(datadir)/doc/@PACKAGE@ - SUBDIRS = common XMLFILES = \ @@ -38,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 @@ -53,11 +46,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); \ + $(INSTALL_DATA) $$p $(DESTDIR)$(docdir); \ done uninstall-hook: - rm -r $(DESTDIR)/$(docdir) + rm -r $(DESTDIR)$(docdir)