changeset 4826: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 89defeae88f3 6215c0296473
files doc/Makefile
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/doc/Makefile	Sun Jul 08 12:52:08 2007 +0200
+++ b/doc/Makefile	Sun Jul 08 12:58:19 2007 +0200
@@ -36,8 +36,8 @@
 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: