Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keplerproject/luafilesystem.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Church <h3xx@users.noreply.github.com>2017-10-08 23:01:54 +0300
committerHisham Muhammad <hisham@gobolinux.org>2017-10-08 23:01:53 +0300
commit12d1692f14075b2c5991df5b0dc74755aff33181 (patch)
treecbffe0aaa499717476978f2fdb36a19f91dcce52
parenta23cadf009c5ea27b3da245a4b7c21de76b74dcc (diff)
Support DESTDIR make install option (#98)
Useful for packagers to specify a build jail to install into.
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e50d5a0..dfc1a8a 100644
--- a/Makefile
+++ b/Makefile
@@ -18,8 +18,8 @@ test: lib
LUA_CPATH=./src/?.so lua tests/test.lua
install:
- mkdir -p $(LUA_LIBDIR)
- cp src/lfs.so $(LUA_LIBDIR)
+ mkdir -p $(DESTDIR)$(LUA_LIBDIR)
+ cp src/lfs.so $(DESTDIR)$(LUA_LIBDIR)
clean:
rm -f src/lfs.so $(OBJS)