global: add gtags.conf to #{etc}.
Configure global to use #{etc} as sysconfdir instead of #{prefix}/etc. Closes Homebrew/homebrew#26868. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
d2d5069c5b
commit
f608d3f45b
1 changed files with 3 additions and 0 deletions
|
@ -27,6 +27,7 @@ class Global < Formula
|
|||
args = %W[
|
||||
--disable-dependency-tracking
|
||||
--prefix=#{prefix}
|
||||
--sysconfdir=#{etc}
|
||||
]
|
||||
|
||||
if build.with? 'exuberant-ctags'
|
||||
|
@ -36,6 +37,8 @@ class Global < Formula
|
|||
system "./configure", *args
|
||||
system "make install"
|
||||
|
||||
etc.install 'gtags.conf'
|
||||
|
||||
# we copy these in already
|
||||
cd share/'gtags' do
|
||||
rm %w[README COPYING LICENSE INSTALL ChangeLog AUTHORS]
|
||||
|
|
Loading…
Reference in a new issue