@matheusbsbs / matheus-bagliano / commits / c53603249c
Fork 0

Documentation/Makefile: remove extra /

As both DESTDIR and the prefix are supposed to be absolute pathnames they can simply be concatenated without an extra / (like in the main Makefile). The extra slash may even break installation on Windows. [jc: adjusted an earlier workaround for this problem in the dist-doc target in the main Makefile as well. ] Signed-off-by: Martin Waitz <tali@admingilde.org> Signed-off-by: Junio C Hamano <junkio@cox.net>

Martin Waitz committed May 25, 2006 at 14:37 UTC c53603249c8fc8ee5e12710087e7287eb6dda5f6
2 files changed +4 -4
Documentation/Makefile
+3 -3
@@ -52,9 +52,9 @@ man1: $(DOC_MAN1)
52 man7: $(DOC_MAN7)
53
54 install: man
55 - $(INSTALL) -d -m755 $(DESTDIR)/$(man1) $(DESTDIR)/$(man7)
56 - $(INSTALL) $(DOC_MAN1) $(DESTDIR)/$(man1)
57 - $(INSTALL) $(DOC_MAN7) $(DESTDIR)/$(man7)
55 + $(INSTALL) -d -m755 $(DESTDIR)$(man1) $(DESTDIR)$(man7)
56 + $(INSTALL) $(DOC_MAN1) $(DESTDIR)$(man1)
57 + $(INSTALL) $(DOC_MAN7) $(DESTDIR)$(man7)
58
59
60 #
Makefile
+1 -1
@@ -680,7 +680,7 @@ dist-doc:
680 :
681 rm -fr .doc-tmp-dir
682 mkdir .doc-tmp-dir .doc-tmp-dir/man1 .doc-tmp-dir/man7
683 - $(MAKE) -C Documentation DESTDIR=. \
683 + $(MAKE) -C Documentation DESTDIR=./ \
684 man1=../.doc-tmp-dir/man1 \
685 man7=../.doc-tmp-dir/man7 \
686 install