1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-25 04:06:03 +00:00

unset PAGER before generating README

apparently, some people like to set PAGER=vim and vim doesn't like when we redirect man output to
a file
This commit is contained in:
Pavel Labath 2009-11-22 23:20:09 +01:00
parent fb3c59baec
commit 93c71fe608

View File

@ -10,7 +10,7 @@ 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
(unset PAGER; 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