From 1e1c5f955291544815713b0af6370214b574c0ed Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Wed, 7 Mar 2018 09:31:54 +0100 Subject: make: consider $DESTDIR when creating $DATDIR Reported-by: @asavah Fixes: 44ceece354c5 ("geoip: store GeoIP files in $(PREFIX)/share by default") Signed-off-by: Tobias Klauser --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 59d79ac..5e7113a 100644 --- a/Makefile +++ b/Makefile @@ -172,7 +172,7 @@ mrproper: distclean install: install_all install_all: $(foreach tool,$(TOOLS),$(tool)_install) - $(Q)$(call INSTD,$(DATDIR)) + $(Q)$(call INSTD,$(DESTDIR)$(DATDIR)) install_allbutcurvetun: $(foreach tool,$(filter-out curvetun,$(TOOLS)),$(tool)_install) install_allbutmausezahn: $(foreach tool,$(filter-out mausezahn,$(TOOLS)),$(tool)_install) uninstall: $(foreach tool,$(TOOLS),$(tool)_uninstall) -- cgit v1.2.3-54-g00ecf