summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Vasco Almeida <vascomalmeida@sapo.pt>2016-05-05 17:46:32 +0000
committerLibravatar Paul Mackerras <paulus@ozlabs.org>2016-12-12 11:01:12 +1100
commit944e1c8ede45b2d282c7431d7dcdc90ee47cbdd5 (patch)
tree29df7e8549049e1a1bb68e89c1e9f759f689e7ad
parentgitk: Include commit title in branch dialog (diff)
downloadtgif-944e1c8ede45b2d282c7431d7dcdc90ee47cbdd5.tar.xz
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>
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5acdc900ab..5bdd52a6eb 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