summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2009-11-20 12:53:42 +0000
committerIan Lynagh <igloo@earth.li>2009-11-20 12:53:42 +0000
commitc39c4a50c81f98483589aaf4e490dadaa39ab1a0 (patch)
tree5a1dfd7dd43cae2926b15443337c1c1cb94910bf /docs
parent4ee978d10e304a85df4077f7fcb8e6c79af5ebc6 (diff)
downloadhaskell-c39c4a50c81f98483589aaf4e490dadaa39ab1a0.tar.gz
Fix some dependencies in bindists
We can't depend on sources in a bindist, because we don't have the sources.
Diffstat (limited to 'docs')
-rw-r--r--docs/users_guide/ghc.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/users_guide/ghc.mk b/docs/users_guide/ghc.mk
index ceb6db4d36..4c8dc1b507 100644
--- a/docs/users_guide/ghc.mk
+++ b/docs/users_guide/ghc.mk
@@ -29,5 +29,8 @@ src_ug_book = $(dir $(realpath $(dir $(build_ug_book))/ug-book.xml.in))ug-book.
ifneq "$(build_ug_book)" "$(src_ug_book)"
$(src_ug_book) : $(build_ug_book)
"$(CP)" $< $@
+ifneq "$(BINDIST)" "YES"
docs/users_guide/users_guide.pdf docs/users_guide/users_guide.ps: $(src_ug_book)
endif
+endif
+