X-Git-Url: http://git.indexdata.com/?p=yazpp-moved-to-github.git;a=blobdiff_plain;f=doc%2FMakefile.am;h=51e867922a1dbdbdf6c1c5da640091ddd4d759ea;hp=db7a4f2612d16b31ceba03edb9515f1179cd7c88;hb=HEAD;hpb=e4b6e06627a3c35bec54127767ef7b98686d02e4 diff --git a/doc/Makefile.am b/doc/Makefile.am index db7a4f2..51e8679 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,48 +1,33 @@ -## $Id: Makefile.am,v 1.25 2006-11-27 11:34:52 adam Exp $ -docdir=$(datadir)/doc/@PACKAGE@ - SUBDIRS = common -XMLFILES = \ - introduction.xml \ - installation.xml \ - zoom.xml \ - api.xml \ - license.xml \ - yazpp.xml - -TOP = $(srcdir)/yazpp.xml +XMLFILES = book.xml local.ent -MANFILES = yazpp-config.8 +MANFILES = yazpp-config.1 REFFILES = yazpp-config-man.xml HTMLFILES = index.html -doc_DATA = $(HTMLFILES) +doc_DATA = $(HTMLFILES) man_MANS = $(MANFILES) EXTRA_DIST = $(XMLFILES) $(doc_DATA) $(man_MANS) $(REFFILES) \ - entities.ent local.ent.in + entities.ent $(HTMLFILES): $(XMLFILES) rm -f *.html - $(HTML_COMPILE) $(TOP) - -index.tkl: $(XMLFILES) - $(TKL_COMPILE) $(TOP) + $(HTML_COMPILE) book.xml -yazpp-config.8: yazpp-config-man.xml +yazpp-config.1: yazpp-config-man.xml $(MAN_COMPILE) $(srcdir)/yazpp-config-man.xml +$(MANFILES): local.ent + 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) book.xml + mv book.pdf yazpp.pdf clean-data-hook: rm -f [0-9]* *.bak @@ -53,11 +38,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)