From 1e96c1cbd5358ef3611798b3c085350af9b6bcfd Mon Sep 17 00:00:00 2001 From: Josh Cooper Date: Thu, 29 Aug 2024 18:20:31 -0700 Subject: [PATCH] Don't require groff If groff is not installed, ronn will warn, but continue along, so don't require it. --- rakelib/manpages.rake | 6 ------ 1 file changed, 6 deletions(-) diff --git a/rakelib/manpages.rake b/rakelib/manpages.rake index 73acacce1b7..c38c841c20e 100644 --- a/rakelib/manpages.rake +++ b/rakelib/manpages.rake @@ -29,12 +29,6 @@ task :gen_manpages do abort("Ronn does not appear to be installed") end - # ronn shells out to groff - groff = %x{which groff}.chomp - unless File.executable?(groff) - abort("Groff does not appear to be installed") - end - %x{mkdir -p ./man/man5 ./man/man8} %x{RUBYLIB=./lib:$RUBYLIB bin/puppet doc --reference configuration > ./man/man5/puppetconf.5.ronn} %x{#{ronn} #{ronn_args} ./man/man5/puppetconf.5.ronn}