Make the doc index page obey DESTDIR
authorIan Lynagh <igloo@earth.li>
Fri, 31 Aug 2007 01:45:37 +0000 (01:45 +0000)
committerIan Lynagh <igloo@earth.li>
Fri, 31 Aug 2007 01:45:37 +0000 (01:45 +0000)
docs/Makefile

index 62bdebd..19d80b9 100644 (file)
@@ -6,7 +6,7 @@ SUBDIRS = man docbook-cheat-sheet ext-core storage-mgt users_guide
 PAGES = index.html
 
 install-docs :: $(PAGES)
-       $(INSTALL_DIR)                                                   $(htmldir)
-       $(INSTALL_DATA) $(INSTALL_OPTS) $(PAGES) $(htmldir)
+       $(INSTALL_DIR)                                                   $(DESTDIR)$(htmldir)
+       $(INSTALL_DATA) $(INSTALL_OPTS) $(PAGES) $(DESTDIR)$(htmldir)
 
 include $(TOP)/mk/target.mk