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/build-package.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/build-package.mk')
-rw-r--r-- | rules/build-package.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rules/build-package.mk b/rules/build-package.mk index cd02646884..fc3d0f71a6 100644 --- a/rules/build-package.mk +++ b/rules/build-package.mk @@ -29,6 +29,7 @@ # libraries/base_dist_LD_OPTS = -package ghc-prim-0.1.0.0 define build-package +$(call trace, build-package($1,$2,$3)) # $1 = dir # $2 = distdir # $3 = GHC stage to use (0 == bootstrapping compiler) |