From caa6e9f023e21bcab5fef5c9695498d37c273379 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Fri, 17 Aug 2007 11:23:32 +0200 Subject: [PATCH] Add pdf support --- Makefile | 17 ++++++++++++----- doc/CHANGES | 1 + 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 3ced51e..54ec563 100644 --- a/Makefile +++ b/Makefile @@ -45,18 +45,23 @@ DOCS = ${MANDOCS} doc/ccollect.text doc/ccollect-DE.text HTMLDOCS = ${DOCS:.text=.html} DBHTMLDOCS = ${DOCS:.text=.htm} +# texi is broken currently, don't know why xslt things complain yet TEXIDOCS = ${DOCS:.text=.texi} +TEXIDOCS = + +PDFDOCS = ${DOCS:.text=.pdf} MANPDOCS = ${MANDOCS:.text=.man} DOCBDOCS = ${DOCS:.text=.docbook} -DOC_ALL = ${HTMLDOCS} ${DBHTMLDOCS} ${TEXIDOCS} ${MANPDOCS} +DOC_ALL = ${HTMLDOCS} ${DBHTMLDOCS} ${TEXIDOCS} ${MANPDOCS} ${PDFDOCS} html: ${HTMLDOCS} htm: ${DBHTMLDOCS} info: ${TEXIDOCS} man: ${MANPDOCS} +pdf: ${PDFDOCS} documentation: ${DOC_ALL} # @@ -112,6 +117,9 @@ install-manlink: install-man %.man: %.text ${A2X} -f manpage $< +%.pdf: %.text + ${A2X} -f pdf $< + # # Developer targets @@ -131,18 +139,17 @@ publish-doc: documentation # # Distribution # -allclean: +clean: rm -f ${DOC_ALL} rm -f doc/man/*.[0-9] doc/man/*.xml -distclean: allclean +distclean: clean rm -f ${DOCBDOCS} - rm -f doc/man/*.[0-9] doc/man/*.xml # # Be nice with the users and generate documentation for them # dist: distclean documentation -test: ccollect.sh +test: ccollect.sh documentation CCOLLECT_CONF=./conf ./ccollect.sh daily "source with spaces" diff --git a/doc/CHANGES b/doc/CHANGES index 7cc0a50..c7ec0ae 100644 --- a/doc/CHANGES +++ b/doc/CHANGES @@ -8,6 +8,7 @@ * delete_ccollect_source.sh * list_ccollect_intervals.sh * Cleaned up exit calls (now always cleanly removes temporary files) + * In theory, added pdf documentation (though, was unable to do it with fop) * Changed license to GPLv3 (from GPLv2) 0.5.1 to 0.5.2: