blob: 2797e9c049736ef2333e8184d984137a5b76b086 (
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
|
LUAVERSION?=5.4
PREFIX?=/usr/local
BINDIR=$(PREFIX)/bin
LIBDIR=$(PREFIX)/lib
DATADIR=$(PREFIX)/share
LUADIR=$(DATADIR)/lua/$(LUAVERSION)
all:
@echo Nothing to be built
install:
install -m644 -Dt $(DESTDIR)$(LUADIR) activity.lua
install -m644 -Dt $(DESTDIR)$(LUADIR)/activity activity/*.lua
install -m644 -Dt $(DESTDIR)$(LUADIR)/activity/formats activity/formats/*.lua
install -m655 -Dt $(DESTDIR)$(BINDIR) generate.lua
uninstall:
rm -rf $(DESTDIR)$(LUADIR)/activity
rm -f $(DESTIR)$(BINDIR)/generate.lua
test:
busted
.PHONY: all install uninstall test
|