@matheusbsbs / matheus-bagliano / commits / 53764ee43d
Fork 0

[PATCH] Use '-d' as the first flag to 'install'

... in order to please Solaris 'install'. GNU install is not harmed with this. [jc: Documentation/Makefile also fixed.] Signed-off-by: Junio C Hamano <junkio@cox.net>

Peter Eriksen committed Sep 14, 2005 at 12:41 UTC 53764ee43defda7109fe547f471eac54c4e8b3d6
2 files changed +3 -3
Documentation/Makefile
+1 -1
@@ -45,7 +45,7 @@ man1: $(DOC_MAN1)
45 man7: $(DOC_MAN7)
46
47 install:
48 - $(INSTALL) -m755 -d $(DESTDIR)/$(man1) $(DESTDIR)/$(man7)
48 + $(INSTALL) -d -m755 $(DESTDIR)/$(man1) $(DESTDIR)/$(man7)
49 $(INSTALL) $(DOC_MAN1) $(DESTDIR)/$(man1)
50 $(INSTALL) $(DOC_MAN7) $(DESTDIR)/$(man7)
51
Makefile
+2 -2
@@ -288,12 +288,12 @@ check:
288 ### Installation rules
289
290 install: $(PROGRAMS) $(SCRIPTS)
291 - $(INSTALL) -m755 -d $(DESTDIR)$(bindir)
291 + $(INSTALL) -d -m755 $(DESTDIR)$(bindir)
292 $(INSTALL) $(PROGRAMS) $(SCRIPTS) $(DESTDIR)$(bindir)
293 $(INSTALL) git-revert $(DESTDIR)$(bindir)/git-cherry-pick
294 sh ./cmd-rename.sh $(DESTDIR)$(bindir)
295 $(MAKE) -C templates install
296 - $(INSTALL) -m755 -d $(DESTDIR)$(GIT_PYTHON_DIR)
296 + $(INSTALL) -d -m755 $(DESTDIR)$(GIT_PYTHON_DIR)
297 $(INSTALL) $(PYMODULES) $(DESTDIR)$(GIT_PYTHON_DIR)
298
299 install-doc: