X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2FMakefile.am;h=1cfba45af5482152a17ad8b75df2b6c4376c1c4e;hb=6716ec7295c7361a205cb2dbcd5c8e3af64e8df6;hp=f6179d76b1846d7f41bdbb659cd21af242f90308;hpb=be1898f9a41a4df5538a64e05fe16de3c967a245;p=yazpp-moved-to-github.git diff --git a/doc/Makefile.am b/doc/Makefile.am index f6179d7..1cfba45 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,4 +1,3 @@ -## $Id: Makefile.am,v 1.27 2007-07-10 09:41:38 adam Exp $ SUBDIRS = common XMLFILES = \ @@ -11,7 +10,7 @@ XMLFILES = \ TOP = $(srcdir)/yazpp.xml -MANFILES = yazpp-config.8 +MANFILES = yazpp-config.1 REFFILES = yazpp-config-man.xml @@ -31,16 +30,12 @@ $(HTMLFILES): $(XMLFILES) 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 @@ -51,11 +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) + rm -r $(DESTDIR)$(docdir)