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