From ce31ac0894cb48cc06f8b6a3548ebcd4fb73fc55 Mon Sep 17 00:00:00 2001 From: James Mills Date: Tue, 10 Jun 2014 14:54:45 +1000 Subject: jq: Use "make install" to install libraries Closes #30021. Signed-off-by: Jack Nagel --- Library/Formula/jq.rb | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3