@matheusbsbs / matheus-bagliano / commits / 41650765de
Fork 0

install-sh from automake does not like -m without delimiting space

The install-sh script as shipped with automake requires a space between the -m switch and its argument. Since this is also the regular way of doing it with other install implementations this change inserts the missing space in all makefiles. Signed-off-by: Robert Schiele <rschiele@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Robert Schiele committed Dec 1, 2007 at 18:05 UTC 41650765dea25b7804a9fdf41ce0b7db59816734
3 files changed +11 -11
Documentation/Makefile
+8 -8
@@ -79,16 +79,16 @@ man7: $(DOC_MAN7)
79 info: git.info
80
81 install: man
82 - $(INSTALL) -d -m755 $(DESTDIR)$(man1dir)
83 - $(INSTALL) -d -m755 $(DESTDIR)$(man5dir)
84 - $(INSTALL) -d -m755 $(DESTDIR)$(man7dir)
85 - $(INSTALL) -m644 $(DOC_MAN1) $(DESTDIR)$(man1dir)
86 - $(INSTALL) -m644 $(DOC_MAN5) $(DESTDIR)$(man5dir)
87 - $(INSTALL) -m644 $(DOC_MAN7) $(DESTDIR)$(man7dir)
82 + $(INSTALL) -d -m 755 $(DESTDIR)$(man1dir)
83 + $(INSTALL) -d -m 755 $(DESTDIR)$(man5dir)
84 + $(INSTALL) -d -m 755 $(DESTDIR)$(man7dir)
85 + $(INSTALL) -m 644 $(DOC_MAN1) $(DESTDIR)$(man1dir)
86 + $(INSTALL) -m 644 $(DOC_MAN5) $(DESTDIR)$(man5dir)
87 + $(INSTALL) -m 644 $(DOC_MAN7) $(DESTDIR)$(man7dir)
88
89 install-info: info
90 - $(INSTALL) -d -m755 $(DESTDIR)$(infodir)
91 - $(INSTALL) -m644 git.info $(DESTDIR)$(infodir)
90 + $(INSTALL) -d -m 755 $(DESTDIR)$(infodir)
91 + $(INSTALL) -m 644 git.info $(DESTDIR)$(infodir)
92 if test -r $(DESTDIR)$(infodir)/dir; then \
93 $(INSTALL_INFO) --info-dir=$(DESTDIR)$(infodir) git.info ;\
94 else \
Makefile
+2 -2
@@ -1017,8 +1017,8 @@ remove-dashes:
1017 ### Installation rules
1018
1019 install: all
1020 - $(INSTALL) -d -m755 '$(DESTDIR_SQ)$(bindir_SQ)'
1021 - $(INSTALL) -d -m755 '$(DESTDIR_SQ)$(gitexecdir_SQ)'
1020 + $(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(bindir_SQ)'
1021 + $(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(gitexecdir_SQ)'
1022 $(INSTALL) $(ALL_PROGRAMS) '$(DESTDIR_SQ)$(gitexecdir_SQ)'
1023 $(INSTALL) git$X '$(DESTDIR_SQ)$(bindir_SQ)'
1024 $(MAKE) -C templates DESTDIR='$(DESTDIR_SQ)' install
templates/Makefile
+1 -1
@@ -46,6 +46,6 @@ clean:
46 $(RM) -r blt boilerplates.made
47
48 install: all
49 - $(INSTALL) -d -m755 '$(DESTDIR_SQ)$(template_dir_SQ)'
49 + $(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(template_dir_SQ)'
50 (cd blt && $(TAR) cf - .) | \
51 (cd '$(DESTDIR_SQ)$(template_dir_SQ)' && $(TAR) xf -)