1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-20 11:55:20 +00:00
conky/doc/Makefile.am
Brenden Matthews 2fa5f97edb A whole bunch of changes, mostly Lua related.
Improved Lua API (lua_read_parse has been removed in favour of the
conky_parse() Lua API call).  The docs have been improved to reflect the
recent Lua API stuff as well.  Introduced new Lua Cairo and Imlib2
bindings, which require the tolua++ tool.  Fixed some other
miscellaneous doc related things.
2009-07-09 22:47:41 -06:00

33 lines
1.0 KiB
Makefile

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
rm -f variables.html
rm -f config_settings.html
rm -f lua.html
conky.1: command_options.xml config_settings.xml docs.xml variables.xml lua.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 > README
sed -i "s/[[:cntrl:]]\[[0-9]*m//g" 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
xsltproc ${srcdir}/lua.xsl ${srcdir}/lua.xml > lua.html
else
conky.1:
endif
man_MANS = conky.1
EXTRA_DIST = $(DOCS) command_options.xml config_settings.xml docgen.sh docs.xml variables.xml variables.xsl config_settings.xsl lua.xml lua.xsl
# vi:set ts=8 sw=8 noet ai nocindent syntax=automake: