create: simplify conditional in template
This commit is contained in:
parent
3eef564beb
commit
da19c15c10
@ -150,7 +150,7 @@ module Homebrew
|
|||||||
"--prefix=\#{prefix}"
|
"--prefix=\#{prefix}"
|
||||||
# system "cmake", ".", *std_cmake_args
|
# system "cmake", ".", *std_cmake_args
|
||||||
<% end %>
|
<% 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
|
system "make", "install" # if this fails, try separate make/make install steps
|
||||||
<% end %>
|
<% end %>
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user