From 9ca114a5840d8d00320e90c047022fa2ca1fa668 Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Mon, 30 Nov 2009 13:27:03 +0000 Subject: [PATCH] Fix the prof_scc.png image in the profiling section (#3694) --- docs/users_guide/ghc.mk | 8 ++++++++ docs/users_guide/profiling.xml | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/users_guide/ghc.mk b/docs/users_guide/ghc.mk index 4c8dc1b..9cb7172 100644 --- a/docs/users_guide/ghc.mk +++ b/docs/users_guide/ghc.mk @@ -26,6 +26,14 @@ $(eval $(call docbook,docs/users_guide,users_guide)) build_ug_book = docs/users_guide/ug-book.xml src_ug_book = $(dir $(realpath $(dir $(build_ug_book))/ug-book.xml.in))ug-book.xml +html_docs/users_guide : docs/users_guide/users_guide/prof_scc.png + +docs/users_guide/users_guide/prof_scc.png : \ + docs/users_guide/prof_scc.png \ + docs/users_guide/users_guide/index.html + $(CP) $< $@ +# dep. on d/u/u/index.html is to make sure that the d/u/u dir is created first + ifneq "$(build_ug_book)" "$(src_ug_book)" $(src_ug_book) : $(build_ug_book) "$(CP)" $< $@ diff --git a/docs/users_guide/profiling.xml b/docs/users_guide/profiling.xml index 0138e57..4d6e835 100644 --- a/docs/users_guide/profiling.xml +++ b/docs/users_guide/profiling.xml @@ -280,7 +280,7 @@ main = do let xs = {-# SCC "X" #-} [1..1000000] which gives this heap profile when run: - + -- 1.7.10.4