summaryrefslogtreecommitdiff
path: root/Makefile
blob: 5180beb5869d4fc45ae4202e27860ff69c40142c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
LUA_VERSION=5.4
PREFIX=/usr/local
DATADIR=$(PREFIX)/share
LUA_LMOD=$(DATADIR)/lua/$(LUA_VERSION)

all: test

test:
	busted srcinfo_spec.lua

install:
	install -m644 -Dt $(DESTDIR)$(LUA_LMOD) srcinfo.lua

uninstall:
	rm -f $(DESTDIR)$(LUA_LMOD)/srcinfo.lua

.PHONY: all test install uninstall