create: simplify conditional in template

This commit is contained in:
Dawid Dziurla 2019-09-25 13:59:00 +02:00
parent 3eef564beb
commit da19c15c10
No known key found for this signature in database
GPG Key ID: 7B6D8368172E9B0B

View File

@ -150,7 +150,7 @@ module Homebrew
"--prefix=\#{prefix}"
# system "cmake", ".", *std_cmake_args
<% end %>
<% if mode != :meson and mode != :go and mode != :python %>
<% if mode == :autotools or mode == :cmake %>
system "make", "install" # if this fails, try separate make/make install steps
<% end %>
end