blob: 4ea4d7138a1d8aa1e5971aea17df6155d5fbcabf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
LUA_VERSION?=5.4
PREFIX?=/usr/local
BINDIR=$(PREFIX)/bin
LIBDIR=$(PREFIX)/lib
DATADIR=$(PREFIX)/share
LUA_LMOD=$(DATADIR)/lua/$(LUA_VERSION)
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
uninstall:
rm -f $(DESTDIR)$(LUA_LMOD)/activity.lua
rm -rf $(DESTDIR)$(LUA_LMOD)/activity
rm -f $(DESTIR)$(BINDIR)/generate.lua
test:
busted
.PHONY: all install uninstall test
|