Skip to content

Commit

Permalink
Don't require groff
Browse files Browse the repository at this point in the history
If groff is not installed, ronn will warn, but continue along, so don't
require it.
  • Loading branch information
joshcooper committed Aug 30, 2024
1 parent 8d17fc2 commit 1e96c1c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions rakelib/manpages.rake
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 1e96c1c

Please sign in to comment.