summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 4ea4d71..236b04d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,6 @@
-LUA_VERSION?=5.4
-PREFIX?=/usr/local
+LUA_VERSION=5.4
+PREFIX=/usr/local
BINDIR=$(PREFIX)/bin
-LIBDIR=$(PREFIX)/lib
DATADIR=$(PREFIX)/share
LUA_LMOD=$(DATADIR)/lua/$(LUA_VERSION)
@@ -9,15 +8,13 @@ all:
@echo Nothing to be built
install:
- install -m644 -Dt $(DESTDIR)$(LUA_LMOD) activity.lua
install -m644 -Dt $(DESTDIR)$(LUA_LMOD)/activity activity/*.lua
install -m644 -Dt $(DESTDIR)$(LUA_LMOD)/activity/formats activity/formats/*.lua
- install -m755 -Dt $(DESTDIR)$(BINDIR) generate.lua
+ install -m755 -DT generate.lua $(DESTDIR)$(BINDIR)/activity
uninstall:
- rm -f $(DESTDIR)$(LUA_LMOD)/activity.lua
rm -rf $(DESTDIR)$(LUA_LMOD)/activity
- rm -f $(DESTIR)$(BINDIR)/generate.lua
+ rm -f $(DESTIR)$(BINDIR)/activity
test:
busted