summaryrefslogtreecommitdiff
path: root/docs/Makefile
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2007-08-30 22:37:40 +0000
committerIan Lynagh <igloo@earth.li>2007-08-30 22:37:40 +0000
commit88aa9117c3bd185e96a0bdc2e935afe180c6decc (patch)
tree0888eef2d03bfd29db13376e992fb7e762c2f0a1 /docs/Makefile
parentbf9eb20fbc731c05724297022a4b9a1479ddd180 (diff)
downloadhaskell-88aa9117c3bd185e96a0bdc2e935afe180c6decc.tar.gz
Fix where all the documentation gets installed
The paths can also now be overridden with the standard configure flags --docdir=, --htmldir= etc. We were always advertising these, but now we actually obey them.
Diffstat (limited to 'docs/Makefile')
-rw-r--r--docs/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/Makefile b/docs/Makefile
index ca9d52d17b..62bdebd152 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -6,7 +6,7 @@ SUBDIRS = man docbook-cheat-sheet ext-core storage-mgt users_guide
PAGES = index.html
install-docs :: $(PAGES)
- $(INSTALL_DIR) $(datadir)/html
- $(INSTALL_DATA) $(INSTALL_OPTS) $(PAGES) $(datadir)/html
+ $(INSTALL_DIR) $(htmldir)
+ $(INSTALL_DATA) $(INSTALL_OPTS) $(PAGES) $(htmldir)
include $(TOP)/mk/target.mk