X-Git-Url: http://git.indexdata.com/?p=yazpp-moved-to-github.git;a=blobdiff_plain;f=doc%2FMakefile.am;h=51e867922a1dbdbdf6c1c5da640091ddd4d759ea;hp=fee41b7d0b409fb93d44ceece6db547501e344dd;hb=HEAD;hpb=4b3585940162cf9ca65ca4a6914c0addcde50eef diff --git a/doc/Makefile.am b/doc/Makefile.am index fee41b7..51e8679 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,45 +1,33 @@ SUBDIRS = common -XMLFILES = \ - introduction.xml \ - installation.xml \ - zoom.xml \ - api.xml \ - license.xml \ - yazpp.xml +XMLFILES = book.xml local.ent -TOP = $(srcdir)/yazpp.xml - -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 @@ -50,10 +38,13 @@ 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: