diff options
author | Simon Marlow <marlowsd@gmail.com> | 2010-09-21 13:47:29 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2010-09-21 13:47:29 +0000 |
commit | 75d9236613acdcfa54deb81b12bd4546c31e7c9f (patch) | |
tree | aba9667bbdc8518d431ee79a6190069f736a61b0 /rules/haddock.mk | |
parent | 6a1dd52566ae92ce133e751d9a800a8631b05b73 (diff) | |
download | haskell-75d9236613acdcfa54deb81b12bd4546c31e7c9f.tar.gz |
add a simple trace facility to the build system
saying
make TRACE=1
prints most of the macro calls and their arguments. It's easy to
trace new macros; see rules/trace.mk.
Diffstat (limited to 'rules/haddock.mk')
-rw-r--r-- | rules/haddock.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rules/haddock.mk b/rules/haddock.mk index f943610bdc..04544963d7 100644 --- a/rules/haddock.mk +++ b/rules/haddock.mk @@ -12,6 +12,7 @@ define haddock # args: $1 = dir, $2 = distdir +$(call trace, haddock($1,$2)) ifneq "$$($1_$2_DO_HADDOCK)" "NO" |