[project @ 2002-07-02 14:48:51 by simonmar]
authorsimonmar <unknown>
Tue, 2 Jul 2002 14:48:51 +0000 (14:48 +0000)
committersimonmar <unknown>
Tue, 2 Jul 2002 14:48:51 +0000 (14:48 +0000)
make $(datadir)/html before attempting to install into it

ghc/docs/Makefile

index 7e4b428..f7bf5b3 100644 (file)
@@ -4,6 +4,7 @@ include $(TOP)/mk/boilerplate.mk
 SUBDIRS = users_guide
 
 install-docs :: index.html
+       $(INSTALL_DIR) $(datadir)/html
        $(INSTALL_DATA) $(INSTALL_OPTS) index.html $(datadir)/html
 
 include $(TOP)/mk/target.mk