[project @ 2003-11-03 10:22:21 by simonmar]
[ghc-hetmet.git] / ghc / docs / Makefile
index 7e4b428..d11e3ad 100644 (file)
@@ -3,7 +3,10 @@ include $(TOP)/mk/boilerplate.mk
 
 SUBDIRS = users_guide
 
-install-docs :: index.html
-       $(INSTALL_DATA) $(INSTALL_OPTS) index.html $(datadir)/html
+PAGES = index.html
+
+install-docs :: $(PAGES)
+       $(INSTALL_DIR) $(datadir)/html
+       $(INSTALL_DATA) $(INSTALL_OPTS) $(PAGES) $(datadir)/html
 
 include $(TOP)/mk/target.mk