summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compiler/Makefile3
-rw-r--r--ghc/Makefile3
2 files changed, 6 insertions, 0 deletions
diff --git a/compiler/Makefile b/compiler/Makefile
index 7056ae7555..cd6b295dbc 100644
--- a/compiler/Makefile
+++ b/compiler/Makefile
@@ -452,6 +452,9 @@ primop-primop-info.hs-incl: prelude/primops.txt
primop-usage.hs-incl: prelude/primops.txt
$(GENPRIMOP) --usage < $< > $@
+html:
+ $(MAKE) doc stage=2
+
install-docs:
@:
diff --git a/ghc/Makefile b/ghc/Makefile
index 4735e3b9fd..4d6a7d0ec0 100644
--- a/ghc/Makefile
+++ b/ghc/Makefile
@@ -127,6 +127,9 @@ install:
--distpref dist-stage2 \
$(INSTALL_FLAGS)
+html:
+ @:
+
install-docs:
@: