blob: 9263a971fe9bd8e1e5cba03f271f227273ea0196 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
LUA_VERSION=5.4
DESTDIR=
PREFIX=/usr/local
PREFIX_EXEC=$(PREFIX)
BINDIR=$(PREFIX_EXEC)/bin
DATADIR=$(PREFIX)/share
LUA_LMOD=$(DATADIR)/lua/$(LUA_VERSION)
all:
@echo nothing to do
install:
install -m755 -DT generate-atom.lua $(DESTDIR)$(BINDIR)/generate-atom
install -m755 -DT generate-index.lua $(DESTDIR)$(BINDIR)/generate-index
install -m644 -Dt $(DESTDIR)$(LUA_LMOD)/huh huh/*.lua
uninstall:
rm -f $(DESTDIR)$(BINDIR)/generate-atom
rm -f $(DESTDIR)$(BINDIR)/generate-index
rm -rf $(DESTDIR)$(LUA_LMOD)/huh
.PHONY: all install uninstall
|