summaryrefslogtreecommitdiff
path: root/rules/shell-wrapper.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/shell-wrapper.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/shell-wrapper.mk')
-rw-r--r--rules/shell-wrapper.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules/shell-wrapper.mk b/rules/shell-wrapper.mk
index 5df9ff2930..1315ea35a4 100644
--- a/rules/shell-wrapper.mk
+++ b/rules/shell-wrapper.mk
@@ -11,6 +11,7 @@
# -----------------------------------------------------------------------------
define shell-wrapper
+$(call trace, shell-wrapper($1,$2))
# $1 = dir
# $2 = distdir