Add pdf support

This commit is contained in:
Nico Schottelius 2007-08-17 11:23:32 +02:00
parent 7d5c1e0077
commit caa6e9f023
2 changed files with 13 additions and 5 deletions

View File

@ -45,18 +45,23 @@ DOCS = ${MANDOCS} doc/ccollect.text doc/ccollect-DE.text
HTMLDOCS = ${DOCS:.text=.html} HTMLDOCS = ${DOCS:.text=.html}
DBHTMLDOCS = ${DOCS:.text=.htm} DBHTMLDOCS = ${DOCS:.text=.htm}
# texi is broken currently, don't know why xslt things complain yet
TEXIDOCS = ${DOCS:.text=.texi} TEXIDOCS = ${DOCS:.text=.texi}
TEXIDOCS =
PDFDOCS = ${DOCS:.text=.pdf}
MANPDOCS = ${MANDOCS:.text=.man} MANPDOCS = ${MANDOCS:.text=.man}
DOCBDOCS = ${DOCS:.text=.docbook} DOCBDOCS = ${DOCS:.text=.docbook}
DOC_ALL = ${HTMLDOCS} ${DBHTMLDOCS} ${TEXIDOCS} ${MANPDOCS} DOC_ALL = ${HTMLDOCS} ${DBHTMLDOCS} ${TEXIDOCS} ${MANPDOCS} ${PDFDOCS}
html: ${HTMLDOCS} html: ${HTMLDOCS}
htm: ${DBHTMLDOCS} htm: ${DBHTMLDOCS}
info: ${TEXIDOCS} info: ${TEXIDOCS}
man: ${MANPDOCS} man: ${MANPDOCS}
pdf: ${PDFDOCS}
documentation: ${DOC_ALL} documentation: ${DOC_ALL}
# #
@ -112,6 +117,9 @@ install-manlink: install-man
%.man: %.text %.man: %.text
${A2X} -f manpage $< ${A2X} -f manpage $<
%.pdf: %.text
${A2X} -f pdf $<
# #
# Developer targets # Developer targets
@ -131,18 +139,17 @@ publish-doc: documentation
# #
# Distribution # Distribution
# #
allclean: clean:
rm -f ${DOC_ALL} rm -f ${DOC_ALL}
rm -f doc/man/*.[0-9] doc/man/*.xml rm -f doc/man/*.[0-9] doc/man/*.xml
distclean: allclean distclean: clean
rm -f ${DOCBDOCS} rm -f ${DOCBDOCS}
rm -f doc/man/*.[0-9] doc/man/*.xml
# #
# Be nice with the users and generate documentation for them # Be nice with the users and generate documentation for them
# #
dist: distclean documentation dist: distclean documentation
test: ccollect.sh test: ccollect.sh documentation
CCOLLECT_CONF=./conf ./ccollect.sh daily "source with spaces" CCOLLECT_CONF=./conf ./ccollect.sh daily "source with spaces"

View File

@ -8,6 +8,7 @@
* delete_ccollect_source.sh * delete_ccollect_source.sh
* list_ccollect_intervals.sh * list_ccollect_intervals.sh
* Cleaned up exit calls (now always cleanly removes temporary files) * 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) * Changed license to GPLv3 (from GPLv2)
0.5.1 to 0.5.2: 0.5.1 to 0.5.2: