Prefix config file install path with DESTDIR

earne/nixos
abba23 2021-05-05 11:26:46 +02:00
parent 36beaa454a
commit b1ac909c81
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ PROFILE ?= release
BINARY_PATH = target/$(PROFILE)/libspotifyadblock.so
CONFIG_PATH = config.toml
BINARY_TARGET = $(DESTDIR)$(PREFIX)/lib/$(NAME).so
CONFIG_TARGET = /etc/$(NAME)/config.toml
CONFIG_TARGET = $(DESTDIR)/etc/$(NAME)/config.toml
.PHONY: all
all: $(BINARY_PATH)