gitk: Makefile: create install bin directory
Force creation of destination bin directory. Without this, gitk would fail to install if this directory didn't already exist. Signed-off-by: Vasco Almeida <vascomalmeida@sapo.pt> Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Vasco Almeida committed
May 5, 2016 at 17:46 UTC
944e1c8ede45b2d282c7431d7dcdc90ee47cbdd5
1 file changed
+1
Makefile
+1
@@ -50,6 +50,7 @@ endif
50
all:: gitk-wish $(ALL_MSGFILES)
51
52
install:: all
53
+ $(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(bindir_SQ)'
54
$(INSTALL) -m 755 gitk-wish '$(DESTDIR_SQ)$(bindir_SQ)'/gitk
55
$(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(msgsdir_SQ)'
56
$(foreach p,$(ALL_MSGFILES), $(INSTALL) -m 644 $p '$(DESTDIR_SQ)$(msgsdir_SQ)' &&) true