2005-08-22 01:05:39 +00:00
|
|
|
if HAVE_DOCSTUFF
|
2005-08-24 20:35:25 +00:00
|
|
|
|
2005-08-31 06:48:38 +00:00
|
|
|
DOCS = conky.1 docs.html variables.html config_settings.html
|
|
|
|
|
2005-08-24 20:47:29 +00:00
|
|
|
clean-am: clean-generic mostlyclean-am
|
|
|
|
rm -f docs.mxml
|
|
|
|
rm -f conky.1
|
2005-08-27 21:15:33 +00:00
|
|
|
rm -f variables.html
|
|
|
|
rm -f config_settings.html
|
2009-07-08 08:09:06 +00:00
|
|
|
rm -f lua.html
|
2005-08-24 20:47:29 +00:00
|
|
|
|
2009-07-08 08:09:06 +00:00
|
|
|
conky.1: command_options.xml config_settings.xml docs.xml variables.xml lua.xml
|
2005-08-24 20:47:29 +00:00
|
|
|
${db2x_xsltproc_cmd} -s man ${srcdir}/docs.xml -o docs.mxml
|
|
|
|
${db2x_manxml_cmd} docs.mxml
|
2005-11-17 00:30:11 +00:00
|
|
|
${xsltproc_cmd} http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl ${srcdir}/docs.xml > docs.html
|
2009-03-30 04:56:29 +00:00
|
|
|
man ./conky.1 > README
|
2009-06-08 03:45:39 +00:00
|
|
|
sed -i "s/[[:cntrl:]]\[[0-9]*m//g" README
|
2005-08-22 01:20:23 +00:00
|
|
|
mv README ${top_srcdir}
|
2005-08-27 21:15:33 +00:00
|
|
|
xsltproc ${srcdir}/variables.xsl ${srcdir}/variables.xml > variables.html
|
|
|
|
xsltproc ${srcdir}/config_settings.xsl ${srcdir}/config_settings.xml > config_settings.html
|
2009-07-08 08:09:06 +00:00
|
|
|
xsltproc ${srcdir}/lua.xsl ${srcdir}/lua.xml > lua.html
|
2005-08-27 21:04:37 +00:00
|
|
|
|
2005-09-11 23:07:28 +00:00
|
|
|
else
|
|
|
|
conky.1:
|
|
|
|
|
2005-08-22 01:05:39 +00:00
|
|
|
endif
|
|
|
|
|
2005-08-31 06:48:00 +00:00
|
|
|
man_MANS = conky.1
|
|
|
|
|
2009-07-08 08:09:06 +00:00
|
|
|
EXTRA_DIST = $(DOCS) command_options.xml config_settings.xml docgen.sh docs.xml variables.xml variables.xsl config_settings.xsl lua.xml lua.xsl
|
2007-01-08 01:10:12 +00:00
|
|
|
|
|
|
|
# vi:set ts=8 sw=8 noet ai nocindent syntax=automake:
|