From 722c7566b68d213d2290327987855b53aff070bc Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Sun, 22 Nov 2009 23:30:47 +0100 Subject: [PATCH] A better fix for the PAGER=vim problem, thanks Phil --- doc/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/Makefile.am b/doc/Makefile.am index 1a3d796e..79c7a1a6 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -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