summaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2010-06-03 12:54:59 +0000
committerSimon Marlow <marlowsd@gmail.com>2010-06-03 12:54:59 +0000
commitf875cc870c623cc5ea6aa53701100e7326a2efe8 (patch)
tree69eef0e5ec2b6353da58a0f1db09079d97bd7c3d /rules
parent291d3f7d32206c026de19b9dbea4fe29cc12a052 (diff)
downloadhaskell-f875cc870c623cc5ea6aa53701100e7326a2efe8.tar.gz
fix --source-entity option passed to Haddock: we needed to escape a #
Diffstat (limited to 'rules')
-rw-r--r--rules/haddock.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/haddock.mk b/rules/haddock.mk
index 676c533035..295db94887 100644
--- a/rules/haddock.mk
+++ b/rules/haddock.mk
@@ -34,7 +34,7 @@ html_$1 : $$($$($1_PACKAGE)-$$($1_$2_VERSION)_HADDOCK_FILE)
$$($1_PACKAGE)-$$($1_$2_VERSION)_HADDOCK_DEPS = $$(foreach n,$$($1_$2_DEPS),$$($$n_HADDOCK_FILE) $$($$n_dist-install_v_LIB))
ifeq "$$(HSCOLOUR_SRCS)" "YES"
-$1_$2_HADDOCK_FLAGS += --source-module=src/%{MODULE/./-}.html --source-entity=src/%{MODULE/./-}.html#%{NAME}
+$1_$2_HADDOCK_FLAGS += --source-module=src/%{MODULE/./-}.html --source-entity=src/%{MODULE/./-}.html\#%{NAME}
endif
ifneq "$$(BINDIST)" "YES"