summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2018-03-07 09:31:54 +0100
committerTobias Klauser <tklauser@distanz.ch>2018-03-07 09:31:54 +0100
commit1e1c5f955291544815713b0af6370214b574c0ed (patch)
tree64757af6b35783fa938c7773455ed62e58f89f9c /Makefile
parent2af099cae27fef1a57aa25d48fc915d619ea216d (diff)
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 <tklauser@distanz.ch>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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)