X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=doc%2FMakefile.am;h=64267eaaaa069a506ba916ac0e90bd71e69c153c;hb=e528397a02fe4dc5331174b5cd9c5c9c88820b0b;hp=fae8388b40989280ab29527918d4116126cd8bae;hpb=79e6886e1c428657eb5755ba72dbad0236f39f01;p=monky diff --git a/doc/Makefile.am b/doc/Makefile.am index fae8388..64267ea 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,21 +1,31 @@ -man_MANS = conky.1.gz ../README docs.html +if HAVE_DOCSTUFF + +DOCS = conky.1 docs.html variables.html config_settings.html clean-am: clean-generic mostlyclean-am rm -f docs.mxml - rm -f conky.1.gz + rm -f conky.1 + rm -f variables.html + rm -f config_settings.html -if HAVE_DOCSTUFF -conky.1.gz: command_options.xml config_settings.xml docs.xml variables.xml - ${DB2X_XSLPROC} -s man ${srcdir}/docs.xml -o docs.mxml - ${DB2X_MANXML} docs.mxml - gzip -f conky.1 +conky.1: command_options.xml config_settings.xml docs.xml variables.xml + ${db2x_xsltproc_cmd} -s man ${srcdir}/docs.xml -o docs.mxml + ${db2x_manxml_cmd} docs.mxml + ${xsltproc_cmd} http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl ${srcdir}/docs.xml > docs.html + man ./conky.1 | col -b > README + mv README ${top_srcdir} + xsltproc ${srcdir}/variables.xsl ${srcdir}/variables.xml > variables.html + xsltproc ${srcdir}/config_settings.xsl ${srcdir}/config_settings.xml > config_settings.html -docs.html: command_options.xml config_settings.xml docs.xml variables.xml - ${XSLPROC} http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl ${srcdir}/docs.xml > docs.html +else +conky.1: -../README: conky.1.gz - man ./conky.1.gz | col -b > README - mv README ${top_srcdir} endif -EXTRA_DIST = conkyrc.sample conky.1.gz docs.html command_options.xml config_settings.xml docgen.sh docs.xml variables.xml +man_MANS = conky.1 + +sysconf_SYSCONFS = conky.conf + +EXTRA_DIST = $(DOCS) conky.conf command_options.xml config_settings.xml docgen.sh docs.xml variables.xml variables.xsl config_settings.xsl + +# vi:set ts=8 sw=8 noet ai nocindent syntax=automake: