mirror of
https://github.com/lunarmodules/luafilesystem.git
synced 2026-07-24 20:33:06 +00:00
Support DESTDIR make install option (#98)
Useful for packagers to specify a build jail to install into.
This commit is contained in:
committed by
Hisham Muhammad
parent
a23cadf009
commit
12d1692f14
4
Makefile
4
Makefile
@@ -18,8 +18,8 @@ test: lib
|
|||||||
LUA_CPATH=./src/?.so lua tests/test.lua
|
LUA_CPATH=./src/?.so lua tests/test.lua
|
||||||
|
|
||||||
install:
|
install:
|
||||||
mkdir -p $(LUA_LIBDIR)
|
mkdir -p $(DESTDIR)$(LUA_LIBDIR)
|
||||||
cp src/lfs.so $(LUA_LIBDIR)
|
cp src/lfs.so $(DESTDIR)$(LUA_LIBDIR)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f src/lfs.so $(OBJS)
|
rm -f src/lfs.so $(OBJS)
|
||||||
|
|||||||
Reference in New Issue
Block a user