Skip to content

Commit 8165be0

Browse files
lyagergitster
authored andcommitted
contrib/subtree: make the manual directory if needed
Before install git-subtree documentation, make sure the manpage directory exists. Signed-off-by: Jesper L. Nielsen <lyager@gmail.com> Signed-off-by: David A. Greene <greened@obbligato.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent d868482 commit 8165be0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

contrib/subtree/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ install: $(GIT_SUBTREE)
3535
install-doc: install-man
3636

3737
install-man: $(GIT_SUBTREE_DOC)
38+
$(INSTALL) -d -m 755 $(DESTDIR)$(man1dir)
3839
$(INSTALL) -m 644 $^ $(DESTDIR)$(man1dir)
3940

4041
$(GIT_SUBTREE_DOC): $(GIT_SUBTREE_XML)

0 commit comments

Comments
 (0)