changeset 4032:c9160748c094

use DESTDIR both places its needed
author Jonathan Smith <https://issues.rpath.com/>
date Mon, 15 Jan 2007 15:49:06 -0500
parents 15b2528239e4
children 84e469ce6408
files doc/Makefile
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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