summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorknarf <knarf@17b73243-c579-4c4c-a9d2-2d5706c11dac>2014-03-17 19:26:46 +0000
committerknarf <knarf@17b73243-c579-4c4c-a9d2-2d5706c11dac>2014-03-17 19:26:46 +0000
commit4cd47c494e1f802b102d94a099894ecf688b52d8 (patch)
tree3d5f93034700ffed191b509d373d16f311c53cf4
parent9b0bea0cfb240f57aedca5cbb5fada076f3a6f43 (diff)
Barry Wardell: Show paths relative to CCTK_HOME in non-verbose output
When Cactus is compiling a thorn, it currently prints the absolute path to the file being compiled. This can lead to very long output lines. I suggest instead printing just the path relative to CCTK_HOME. The attached patch implements this, but only when in non-verbose mode. Closing ticket #1561 git-svn-id: http://svn.cactuscode.org/flesh/trunk@5098 17b73243-c579-4c4c-a9d2-2d5706c11dac
-rw-r--r--lib/make/make.config.rules.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/make/make.config.rules.in b/lib/make/make.config.rules.in
index 5c146a68..2131be6c 100644
--- a/lib/make/make.config.rules.in
+++ b/lib/make/make.config.rules.in
@@ -51,7 +51,7 @@ endef
define NOTIFY_COPYING
endef
define NOTIFY_COMPILING
- echo COMPILING $<
+ echo COMPILING $(subst $(CCTK_HOME)/,,$<)
endef
define NOTIFY_POSTPROCESSING
endef