[PATCH] gitk: Makefile: create install bin directory

Subsystems: kernel build + files below scripts/ (unless maintained elsewhere), the rest

STALE3552d

2 messages, 2 authors, 2016-12-12 · open the first message on its own page

[PATCH] gitk: Makefile: create install bin directory

From: Vasco Almeida <hidden>
Date: 2016-06-16 02:19:11

Force creation of destination bin directory. Before this commit, gitk
would fail to install if this directory didn't already exist.

Signed-off-by: Vasco Almeida <redacted>
---
 Makefile | 1 +
 1 file changed, 1 insertion(+)
diff --git a/Makefile b/Makefile
index 5acdc90..5bdd52a 100644
--- a/Makefile
+++ b/Makefile
@@ -50,6 +50,7 @@ endif
 all:: gitk-wish $(ALL_MSGFILES)
 
 install:: all
+	$(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(bindir_SQ)'
 	$(INSTALL) -m 755 gitk-wish '$(DESTDIR_SQ)$(bindir_SQ)'/gitk
 	$(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(msgsdir_SQ)'
 	$(foreach p,$(ALL_MSGFILES), $(INSTALL) -m 644 $p '$(DESTDIR_SQ)$(msgsdir_SQ)' &&) true
-- 
2.7.3

Re: [PATCH] gitk: Makefile: create install bin directory

From: Paul Mackerras <hidden>
Date: 2016-12-12 01:58:34

On Thu, May 05, 2016 at 05:46:32PM +0000, Vasco Almeida wrote:
Force creation of destination bin directory. Before this commit, gitk
would fail to install if this directory didn't already exist.

Signed-off-by: Vasco Almeida <redacted>
Thanks, applied (with slight tweak to commit message).

Paul.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help