aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/lua.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/lua.rb')
-rw-r--r--Library/Formula/lua.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/Library/Formula/lua.rb b/Library/Formula/lua.rb
index ad92b0725..f3174d3a6 100644
--- a/Library/Formula/lua.rb
+++ b/Library/Formula/lua.rb
@@ -10,12 +10,12 @@ class Lua <Formula
end
def install
- inreplace 'Makefile', '/usr/local', prefix
- inreplace 'src/luaconf.h', '/usr/local', prefix
- inreplace 'etc/lua.pc', '/usr/local', prefix
+ inreplace ['Makefile', 'src/luaconf.h', 'etc/lua.pc'],
+ '/usr/local', prefix
+
+ inreplace ['Makefile', 'etc/lua.pc'],
+ 'man/man1', 'share/man/man1'
- inreplace 'Makefile', 'man/man1', 'share/man/man1'
- inreplace 'etc/lua.pc', 'man/man1', 'share/man/man1'
inreplace 'src/luaconf.h', '/usr/local', HOMEBREW_PREFIX
ENV.append "CFLAGS", "-DLUA_USE_LINUX"