aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Mills2014-06-10 14:54:45 +1000
committerJack Nagel2014-06-10 01:20:52 -0500
commitce31ac0894cb48cc06f8b6a3548ebcd4fb73fc55 (patch)
tree236b63015aead1b6e6b71b79320324311a5f8b91
parent75a006b7c31fd1ee5610190a816b34b512b4a981 (diff)
downloadhomebrew-ce31ac0894cb48cc06f8b6a3548ebcd4fb73fc55.tar.bz2
jq: Use "make install" to install libraries
Closes #30021. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
-rw-r--r--Library/Formula/jq.rb10
1 files changed, 6 insertions, 4 deletions
diff --git a/Library/Formula/jq.rb b/Library/Formula/jq.rb
index 339264075..d4e9faa01 100644
--- a/Library/Formula/jq.rb
+++ b/Library/Formula/jq.rb
@@ -16,11 +16,13 @@ class Jq < Formula
end
def install
+ args = %W[
+ --prefix=#{prefix}
+ ]
+
system "autoreconf", "-iv" if build.head?
- system "./configure"
- system "make"
- bin.install 'jq'
- man1.install 'jq.1'
+ system './configure', *args
+ system 'make install'
end
test do