diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2018-03-07 09:31:54 +0100 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2018-03-07 09:31:54 +0100 |
commit | 1e1c5f955291544815713b0af6370214b574c0ed (patch) | |
tree | 64757af6b35783fa938c7773455ed62e58f89f9c | |
parent | 2af099cae27fef1a57aa25d48fc915d619ea216d (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>
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |