doc makefile
[monky] / doc / Makefile.am
1 if HAVE_DOCSTUFF
2
3 man_MANS = conky.1
4
5 clean-am: clean-generic mostlyclean-am
6         rm -f docs.mxml
7         rm -f conky.1
8
9 conky.1: command_options.xml config_settings.xml docs.xml variables.xml 
10         ${db2x_xsltproc_cmd} -s man ${srcdir}/docs.xml -o docs.mxml
11         ${db2x_manxml_cmd} docs.mxml
12
13 docs.html: command_options.xml config_settings.xml docs.xml variables.xml
14         ${xsltproc_cmd} http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl ${srcdir}/docs.xml > docs.html
15
16 ../README: conky.1
17         man ./conky.1 | col -b > README
18         mv README ${top_srcdir}
19 endif
20
21 EXTRA_DIST = conkyrc.sample conky.1 docs.html command_options.xml config_settings.xml docgen.sh docs.xml variables.xml