From 953b1009d381f8023f1d2d8abde67b6df054a58e Mon Sep 17 00:00:00 2001 From: Ryan Cavicchioni Date: Fri, 9 Apr 2021 00:05:59 +0000 Subject: [PATCH] Fix PREFIX AND DESTDIR Refs #7 --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8d9e8d0..378da4e 100644 --- a/Makefile +++ b/Makefile @@ -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: