summaryrefslogtreecommitdiff
path: root/rules/package-config.mk
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2010-09-21 13:47:29 +0000
committerSimon Marlow <marlowsd@gmail.com>2010-09-21 13:47:29 +0000
commit75d9236613acdcfa54deb81b12bd4546c31e7c9f (patch)
treeaba9667bbdc8518d431ee79a6190069f736a61b0 /rules/package-config.mk
parent6a1dd52566ae92ce133e751d9a800a8631b05b73 (diff)
downloadhaskell-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/package-config.mk')
-rw-r--r--rules/package-config.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules/package-config.mk b/rules/package-config.mk
index b68f2e1de5..bd962e15ac 100644
--- a/rules/package-config.mk
+++ b/rules/package-config.mk
@@ -12,6 +12,7 @@
define package-config # args: $1 = dir, $2 = distdir, $3 = GHC stage
+$(call trace, package-config($1,$2,$3))
$1_$2_HC = $$(GHC_STAGE$3)