summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2024-02-09 21:56:33 +0100
committerAki <please@ignore.pl>2024-02-09 21:56:33 +0100
commit9b1f5d2b5554c0ff9f355866d4669b3ffcaa3686 (patch)
tree3e04f1f09244e712e61220baae8857ec21906111 /Makefile
parentd41c7d0e1d864bec20cd917354fe82330d0781d5 (diff)
downloadactivity-9b1f5d2b5554c0ff9f355866d4669b3ffcaa3686.zip
activity-9b1f5d2b5554c0ff9f355866d4669b3ffcaa3686.tar.gz
activity-9b1f5d2b5554c0ff9f355866d4669b3ffcaa3686.tar.bz2
Moved the standalone activity.lua into activity.generators
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