changeset 4843:15efc1d06143

Fixed double slash for doc install path introduced by using $DESTDIR (issue620) $MANDIR already is an absolute path so the extra / isn't needed.
author Thomas Arendsen Hein <thomas@intevation.de>
date Sun, 08 Jul 2007 12:58:19 +0200
parents 3cf94964c56b
children 6215c0296473 89defeae88f3
files doc/Makefile
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -36,8 +36,8 @@ MANIFEST: man html
 install: man
 	for i in $(MAN) ; do \
 	  subdir=`echo $$i | sed -n 's/..*\.\([0-9]\)$$/man\1/p'` ; \
-	  mkdir -p $(DESTDIR)/$(MANDIR)/$$subdir ; \
-	  $(INSTALL) $$i $(DESTDIR)/$(MANDIR)/$$subdir ; \
+	  mkdir -p $(DESTDIR)$(MANDIR)/$$subdir ; \
+	  $(INSTALL) $$i $(DESTDIR)$(MANDIR)/$$subdir ; \
 	done
 
 clean: