changeset 4031:15b2528239e4

honor DESTDIR env variable for docs' make install
author Jonathan Smith <https://issues.rpath.com/>
date Mon, 15 Jan 2007 15:31:38 -0500
parents a48971ae1387
children c9160748c094
files doc/Makefile
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/doc/Makefile	Mon Jan 15 15:30:50 2007 -0500
+++ b/doc/Makefile	Mon Jan 15 15:31:38 2007 -0500
@@ -37,7 +37,7 @@
 	for i in $(MAN) ; do \
 	  subdir=`echo $$i | sed -n 's/..*\.\([0-9]\)$$/man\1/p'` ; \
 	  mkdir -p $(MANDIR)/$$subdir ; \
-	  $(INSTALL) $$i $(MANDIR)/$$subdir ; \
+	  $(INSTALL) $$i $(DESTDIR)/$(MANDIR)/$$subdir ; \
 	done
 
 clean: