From 19ba6f2602ffc5e54fc91e22d28f6231290c15bc Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 26 Jun 2009 11:12:14 -0700 Subject: [PATCH] GNUmakefile: spaces for decls to avoid confusing make Otherwise it could be confused as belonging to the task defined above the declarations. --- GNUmakefile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index e6b4598..ee9c647 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -12,15 +12,15 @@ clean: ifndef V - quiet_pre = @echo '* $@'; - quiet_post = >$(t) 2>&1 + quiet_pre = @echo '* $@'; + quiet_post = >$(t) 2>&1 else - # we can't rely on -o pipefail outside of bash 3+, - # so we use a stamp file to indicate success and - # have rm fail if the stamp didn't get created - stamp = $@$(log_suffix).ok - quiet_pre = @echo $(ruby) $@ $(TEST_OPTS); ! test -f $(stamp) && ( - quiet_post = && > $(stamp) )>&2 | tee $(t); rm $(stamp) 2>/dev/null + # we can't rely on -o pipefail outside of bash 3+, + # so we use a stamp file to indicate success and + # have rm fail if the stamp didn't get created + stamp = $@$(log_suffix).ok + quiet_pre = @echo $(ruby) $@ $(TEST_OPTS); ! test -f $(stamp) && ( + quiet_post = && > $(stamp) )>&2 | tee $(t); rm $(stamp) 2>/dev/null endif ruby = ruby run_test = $(quiet_pre) setsid $(ruby) -w $@ $(TEST_OPTS) $(quiet_post) || \ -- 2.11.4.GIT