aboutsummaryrefslogtreecommitdiff
path: root/ghc.mk
diff options
context:
space:
mode:
Diffstat (limited to 'ghc.mk')
-rw-r--r--ghc.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/ghc.mk b/ghc.mk
index bd0b9e0d..8ba7e11e 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -9,12 +9,16 @@ utils/haddock_dist_PROG = haddock$(exeext)
ifneq "$(BINDIST)" "YES"
-$(INPLACE_BIN)/$(utils/haddock_dist_PROG): $(INPLACE_LIB)/html
+$(INPLACE_BIN)/$(utils/haddock_dist_PROG): $(INPLACE_LIB)/html $(INPLACE_LIB)/latex
$(INPLACE_LIB)/html:
"$(RM)" $(RM_OPTS_REC) $@
"$(CP)" -R utils/haddock/html $@
+$(INPLACE_LIB)/latex:
+ "$(RM)" $(RM_OPTS_REC) $@
+ "$(CP)" -R utils/haddock/latex $@
+
endif
$(eval $(call build-prog,utils/haddock,dist,2))