diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2016-01-26 11:51:03 +0100 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2016-01-26 11:51:03 +0100 |
commit | a104965ab045fb397c8850f4434235bfc2bb9623 (patch) | |
tree | 21e0c2435863200d322ceb9c835b8c60fed3c26c /Makefile | |
parent | 86a6f901c041fb78fd702bd215ba0a8cf1fd7b27 (diff) |
build: Fix install targets for use with DESTDIR
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |