gnu-indent: add gnubin and gnuman symlink dirs

This commit is contained in:
Chongyu Zhu 2018-09-21 19:23:29 +08:00
parent 109d5f10e0
commit d152b46b75
No known key found for this signature in database
GPG key ID: 1A43E3C9100B38F5

View file

@ -30,6 +30,11 @@ class GnuIndent < Formula
system "./configure", *args
system "make", "install"
if build.without? "default-names"
(libexec/"gnubin").install_symlink bin/"gindent" => "indent"
(libexec/"gnuman/man1").install_symlink man1/"gindent.1" => "indent.1"
end
end
test do