use DESTDIR both places its needed
authorJonathan Smith <https://issues.rpath.com/>
Mon, 15 Jan 2007 15:49:06 -0500
changeset 4032 c9160748c094
parent 4031 15b2528239e4
child 4033 84e469ce6408
use DESTDIR both places its needed
doc/Makefile
--- a/doc/Makefile	Mon Jan 15 15:31:38 2007 -0500
+++ b/doc/Makefile	Mon Jan 15 15:49:06 2007 -0500
@@ -36,7 +36,7 @@
 install: man
 	for i in $(MAN) ; do \
 	  subdir=`echo $$i | sed -n 's/..*\.\([0-9]\)$$/man\1/p'` ; \
-	  mkdir -p $(MANDIR)/$$subdir ; \
+	  mkdir -p $(DESTDIR)/$(MANDIR)/$$subdir ; \
 	  $(INSTALL) $$i $(DESTDIR)/$(MANDIR)/$$subdir ; \
 	done