From 492996e5625578d92ec8a74560e046b65d2fe25b Mon Sep 17 00:00:00 2001 From: Toshifumi NISHINAGA Date: Fri, 30 Mar 2018 03:29:42 +0900 Subject: [PATCH] Fix DESTDIR behavior We can not install config-templates other than /etc/snapper/config-templates in this version. This patch fix it. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index cb2bd98..51d58fa 100644 --- a/Makefile +++ b/Makefile @@ -28,4 +28,4 @@ SYSTEMD_DIR = $(DESTDIR)$(PREFIX)/lib/systemd/system install: @./find_snapper_config || sed -i 's@^SNAPPER_CONFIG.*@SNAPPER_CONFIG='$(SNAPPER_CONFIG)'@g' bin/$(PKGNAME) @install -Dm755 bin/* -t $(BIN_DIR)/ - @install -Dm644 ./$(SNAPPER_TEMPLATES)/* -t $(SNAPPER_TEMPLATES)/ + @install -Dm644 ./$(SNAPPER_TEMPLATES)/* -t $(DESTDIR)/$(SNAPPER_TEMPLATES)/