Fix where all the documentation gets installed
[ghc-hetmet.git] / docs / Makefile
index ca9d52d..62bdebd 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) $(datadir)/html
-       $(INSTALL_DATA) $(INSTALL_OPTS) $(PAGES) $(datadir)/html
+       $(INSTALL_DIR)                                                   $(htmldir)
+       $(INSTALL_DATA) $(INSTALL_OPTS) $(PAGES) $(htmldir)
 
 include $(TOP)/mk/target.mk