aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2003-11-05 06:41:14 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2003-11-05 06:41:14 +0000
commitb6d59a29ea3b7b0033d1d8a6a4c9a13972b880d0 (patch)
tree90060664946e2fdce2105154aedc1c438ba1f58a
parentde3bb5796c2c16a25dc4316679ea85af4e6f3c80 (diff)
Output only the .y filename, not the full path to it for ease of reading.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9729 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--Makefile.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.rules b/Makefile.rules
index e2d3d69959..d3a6585e36 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -748,7 +748,7 @@ YACC_OUTPUT = $(addprefix $(YACC_FILES:%.y=%), .h .cpp .output)
%.c: %.y # Cancel built-in rules for yacc
%.h: %.y # Cancel built-in rules for yacc
%.cpp %.h : %.y
- @${ECHO} Bisoning $<
+ @${ECHO} "Bisoning `basename $<`"
$(VERB) $(BISON) -v -d -p $(<F:%Parser.y=%) -o $*.tab.c $<
$(VERB) cmp -s $*.tab.c $*.cpp > /dev/null || ${MV} -f $*.tab.c $*.cpp
$(VERB) cmp -s $*.tab.h $*.h > /dev/null || ${MV} -f $*.tab.h $*.h