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 4826 15efc1d06143
parent 4825 3cf94964c56b
child 4827 89defeae88f3
child 4854 6215c0296473
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	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: