X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=doc%2FMakefile.am;h=1cfba45af5482152a17ad8b75df2b6c4376c1c4e;hb=b094fb084d6ccabc92560830fb3c84285508a15f;hp=4784afd0379b913fdc0bbf2668cf24110d45f0c3;hpb=7a6cbcbf3b6e88062fe8277f3b5cb94b66ce5082;p=yazpp-moved-to-github.git diff --git a/doc/Makefile.am b/doc/Makefile.am index 4784afd..1cfba45 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,6 +1,3 @@ -## $Id: Makefile.am,v 1.23 2006-09-07 10:07:02 adam Exp $ -docdir=$(datadir)/doc/@PACKAGE@ - SUBDIRS = common XMLFILES = \ @@ -13,7 +10,7 @@ XMLFILES = \ TOP = $(srcdir)/yazpp.xml -MANFILES = yazpp-config.8 +MANFILES = yazpp-config.1 REFFILES = yazpp-config-man.xml @@ -30,19 +27,15 @@ $(HTMLFILES): $(XMLFILES) rm -f *.html $(HTML_COMPILE) $(TOP) -index.tkl: $(XMLFILES) common/tkl.xsl +index.tkl: $(XMLFILES) $(TKL_COMPILE) $(TOP) -yazpp-config.8: yazpp-config-man.xml +yazpp-config.1: yazpp-config-man.xml $(MAN_COMPILE) $(srcdir)/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,10 +46,14 @@ dist-hook: cp $$p $(distdir); \ done +doc-clean: + rm -f *.html *.[0-9] *.pdf + 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)