From f52002955c9d1c0809fa31d91d398c5a1fdcee0a Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Mon, 15 Oct 2018 18:32:03 -0400 Subject: Makefile: don't inject DESTDIR into the pkgdatadir In commit 46c4def0733a78ce08702d188e3e1a141fb07316, we added support for nonstandard PREFIX installations, but DESTDIR was and is never supposed to be a part of that. While DESTDIR isn't terribly likely to be used during `make all` invocations, that's no reason to break horribly if it is used for some reason. Signed-off-by: Eli Schwartz Signed-off-by: Levente Polyak --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 27cd90f..606ed61 100644 --- a/Makefile +++ b/Makefile @@ -79,7 +79,7 @@ MANS = \ all: $(BINPROGS) bash_completion zsh_completion man man: $(MANS) -edit = sed -e "s|@pkgdatadir[@]|$(DESTDIR)$(PREFIX)/share/devtools|g" +edit = sed -e "s|@pkgdatadir[@]|$(PREFIX)/share/devtools|g" %: %.in Makefile lib/common.sh @echo "GEN $@" -- cgit v1.2.3-70-g09d2