mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-26 04:17:33 +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:
parent
fb3c59baec
commit
93c71fe608
@ -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_xsltproc_cmd} -s man ${srcdir}/docs.xml -o docs.mxml
|
||||||
${db2x_manxml_cmd} docs.mxml
|
${db2x_manxml_cmd} docs.mxml
|
||||||
${xsltproc_cmd} http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl ${srcdir}/docs.xml > docs.html
|
${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
|
sed -i "s/[[:cntrl:]]\[[0-9]*m//g" README
|
||||||
mv README ${top_srcdir}
|
mv README ${top_srcdir}
|
||||||
xsltproc ${srcdir}/variables.xsl ${srcdir}/variables.xml > variables.html
|
xsltproc ${srcdir}/variables.xsl ${srcdir}/variables.xml > variables.html
|
||||||
|
Loading…
Reference in New Issue
Block a user