summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 474f44c..f51b36c 100644
--- a/Makefile
+++ b/Makefile
@@ -13,8 +13,8 @@ src/$(LIBNAME): $(OBJS)
$(CC) $(CFLAGS) -o $@ $(LIB_OPTION) $(OBJS)
install:
- mkdir -p $(LUA_LIBDIR)
- cp src/$(LIBNAME) $(LUA_LIBDIR)/
+ mkdir -p $(DESTDIR)$(LUA_LIBDIR)
+ cp src/$(LIBNAME) $(DESTDIR)$(LUA_LIBDIR)/
clean:
rm -f src/$(LIBNAME) src/*.o