erlang@18: remove without-docs option
This commit is contained in:
parent
72655ebd81
commit
0d13c0d859
1 changed files with 2 additions and 5 deletions
|
@ -18,7 +18,6 @@ class ErlangAT18 < Formula
|
|||
option "with-native-libs", "Enable native library compilation"
|
||||
option "with-dirty-schedulers", "Enable experimental dirty schedulers"
|
||||
option "with-java", "Build jinterface application"
|
||||
option "without-docs", "Do not install documentation"
|
||||
|
||||
depends_on "autoconf" => :build
|
||||
depends_on "automake" => :build
|
||||
|
@ -111,11 +110,9 @@ class ErlangAT18 < Formula
|
|||
ENV.deparallelize # Install is not thread-safe; can try to create folder twice and fail
|
||||
system "make", "install"
|
||||
|
||||
if build.with? "docs"
|
||||
(lib/"erlang").install resource("man").files("man")
|
||||
doc.install resource("html")
|
||||
end
|
||||
end
|
||||
|
||||
def caveats; <<~EOS
|
||||
Man pages can be found in:
|
||||
|
|
Loading…
Reference in a new issue