Initial push
[termux-packages] / packages / lua / Makefile.patch
1 diff -u -r ../lua-5.3.0/Makefile ./Makefile
2 --- ../lua-5.3.0/Makefile 2014-10-29 19:14:41.000000000 -0400
3 +++ ./Makefile 2015-05-24 18:05:30.039061174 -0400
4 @@ -10,11 +10,11 @@
5 # so take care if INSTALL_TOP is not an absolute path. See the local target.
6 # You may want to make INSTALL_LMOD and INSTALL_CMOD consistent with
7 # LUA_ROOT, LUA_LDIR, and LUA_CDIR in luaconf.h.
8 -INSTALL_TOP= /usr/local
9 +INSTALL_TOP= @TERMUX_PREFIX@
10 INSTALL_BIN= $(INSTALL_TOP)/bin
11 INSTALL_INC= $(INSTALL_TOP)/include
12 INSTALL_LIB= $(INSTALL_TOP)/lib
13 -INSTALL_MAN= $(INSTALL_TOP)/man/man1
14 +INSTALL_MAN= $(INSTALL_TOP)/share/man/man1
15 INSTALL_LMOD= $(INSTALL_TOP)/share/lua/$V
16 INSTALL_CMOD= $(INSTALL_TOP)/lib/lua/$V
17