diff options
author | Ian Lynagh <igloo@earth.li> | 2008-07-20 22:06:22 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2008-07-20 22:06:22 +0000 |
commit | c1153c7803e311d7b6e7de454ea0156b211281c3 (patch) | |
tree | 3050e05de968d9a53f0e678f9fd78bb52ea5c1ee /compiler/Makefile | |
parent | 90c32262025049ae3013e8af1e9960756dace72d (diff) | |
download | haskell-c1153c7803e311d7b6e7de454ea0156b211281c3.tar.gz |
haddock the stage2 compiler if HADDOCK_DOCS is YES
Diffstat (limited to 'compiler/Makefile')
-rw-r--r-- | compiler/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/Makefile b/compiler/Makefile index 129adfc4d5..60663852ff 100644 --- a/compiler/Makefile +++ b/compiler/Makefile @@ -44,6 +44,8 @@ boot:: boot.stage.$(stage) all:: build.stage.$(stage) +doc:: doc.stage.$(stage) + stage1 :: $(MAKE) stage=1 @@ -175,6 +177,9 @@ build.stage.%: $(MAKE) -f Makefile-stage$* stage=$* $(CABAL) register --distpref dist-stage$* --inplace +doc.stage.%: + $(CABAL) haddock --distpref dist-stage$* + # XXX We ought to actually install the (stage 2) library install: @: |