Fix PREFIX AND DESTDIR

Refs #7
This commit is contained in:
Ryan Cavicchioni 2021-04-09 00:05:59 +00:00
parent 11053571d5
commit 953b1009d3
Signed by: ryanc
GPG Key ID: 877EEDAF9245103D

View File

@ -1,7 +1,7 @@
V ?= 0
Q = $(if $(filter 1, $V),, @)
BINDIR=$(CURDIR)/bin
PREFIX=/usr/bin
PREFIX=/usr
DESTDIR=bin
ifeq ($(OS), Windows_NT)
@ -31,7 +31,8 @@ clean:
.PHONY: install
install:
$(Q) install -p -D -m 0755 $(EXE) $(DESTDIR)${PREFIX}/lume
$(Q) install -p -D -m 0755 $(EXE) $(DESTDIR)${PREFIX}/bin/lume
$(Q) install -p -D -m 0644 .lumerc.sample $(DESTDIR)${PREFIX}/share/lume/lumerc
.PHONY: deb
deb: