A better fix for the PAGER=vim problem, thanks Phil
authorPavel Labath <pavelo@centrum.sk>
Sun, 22 Nov 2009 22:30:47 +0000 (23:30 +0100)
committerPavel Labath <pavelo@centrum.sk>
Sun, 22 Nov 2009 22:30:47 +0000 (23:30 +0100)
doc/Makefile.am

index 1a3d796..79c7a1a 100644 (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
-       (unset PAGER; man ./conky.1 > README)
+       man -P '/usr/bin/less -is' ./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