Fixed double slash for doc install path introduced by using $DESTDIR (issue620)
authorThomas Arendsen Hein <thomas@intevation.de>
Sun, 08 Jul 2007 12:58:19 +0200
changeset 4843 15efc1d06143
parent 4842 3cf94964c56b
child 4844 6215c0296473
child 4858 89defeae88f3
Fixed double slash for doc install path introduced by using $DESTDIR (issue620) $MANDIR already is an absolute path so the extra / isn't needed.
doc/Makefile
--- 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: