aboutsummaryrefslogtreecommitdiff
path: root/ghc.mk
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2010-06-30 12:45:17 +0000
committerSimon Marlow <marlowsd@gmail.com>2010-06-30 12:45:17 +0000
commit29e0275bfb3442fcd354075ba5bee09e84503099 (patch)
tree743d508ec78533e98288f9a906113172dc45790f /ghc.mk
parent3924891dc47a96e13707489b4e55b3fe8d1ce1d7 (diff)
LaTeX backend (new options: --latex, --latex-style=<style>)
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))