dist-docs: Fix text and HTML manpage generation with some groff versions.
authorBen Pfaff <blp@ovn.org>
Wed, 11 Nov 2015 16:58:51 +0000 (08:58 -0800)
committerBen Pfaff <blp@ovn.org>
Wed, 11 Nov 2015 17:20:07 +0000 (09:20 -0800)
commit0e7850eb8d6d22feaef51054e703e017658e54ee
tree8fea133ce81438dd61bf51a108833a115517655d
parentef6d1b112383a9820e03b8245f90cbc32823927e
dist-docs: Fix text and HTML manpage generation with some groff versions.

Some versions of groff use termcap sequences for bold, italic, etc. by
default.  The dist-docs script doesn't cope with those; it expects
sequences based on backspacing and overprinting.  This commit fixes the
problem by setting an environment variable GROFF_NO_SGR that forces groff
to use backspacing.

Found on Fedora.

Reported-by: Russell Bryant <rbryant@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Russell Bryant <rbryant@redhat.com>
build-aux/dist-docs