Prefix config file install path with DESTDIR
parent
36beaa454a
commit
b1ac909c81
2
Makefile
2
Makefile
|
@ -4,7 +4,7 @@ PROFILE ?= release
|
||||||
BINARY_PATH = target/$(PROFILE)/libspotifyadblock.so
|
BINARY_PATH = target/$(PROFILE)/libspotifyadblock.so
|
||||||
CONFIG_PATH = config.toml
|
CONFIG_PATH = config.toml
|
||||||
BINARY_TARGET = $(DESTDIR)$(PREFIX)/lib/$(NAME).so
|
BINARY_TARGET = $(DESTDIR)$(PREFIX)/lib/$(NAME).so
|
||||||
CONFIG_TARGET = /etc/$(NAME)/config.toml
|
CONFIG_TARGET = $(DESTDIR)/etc/$(NAME)/config.toml
|
||||||
|
|
||||||
.PHONY: all
|
.PHONY: all
|
||||||
all: $(BINARY_PATH)
|
all: $(BINARY_PATH)
|
||||||
|
|
Loading…
Reference in New Issue