From a104965ab045fb397c8850f4434235bfc2bb9623 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Tue, 26 Jan 2016 11:51:03 +0100 Subject: build: Fix install targets for use with DESTDIR Signed-off-by: Tobias Klauser --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 3e4205d..a80aa7b 100644 --- a/Makefile +++ b/Makefile @@ -59,12 +59,12 @@ $(Q_P): $(Q_OBJS) install_$(D_P): $(D_P) @echo " INSTALL $(D_P)" @$(INSTALL) -d -m 755 $(DESTDIR)$(SBINDIR) - @$(INSTALL) -m 755 $(D_P) $(SBINDIR)/$(D_P) + @$(INSTALL) -m 755 $(D_P) $(DESTDIR)$(SBINDIR)/$(D_P) install_$(Q_P): $(Q_P) @echo " INSTALL $(Q_P)" @$(INSTALL) -d -m 755 $(DESTDIR)$(BINDIR) - @$(INSTALL) -m 755 $(Q_P) $(BINDIR)/$(Q_P) + @$(INSTALL) -m 755 $(Q_P) $(DESTDIR)$(BINDIR)/$(Q_P) install: install_$(D_P) install_$(Q_P) -- cgit v1.2.3-54-g00ecf