Output only the .y filename, not the full path to it for ease of reading.
authorMisha Brukman <brukman+llvm@gmail.com>
Wed, 5 Nov 2003 06:41:14 +0000 (06:41 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Wed, 5 Nov 2003 06:41:14 +0000 (06:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9729 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile.rules

index e2d3d69959f79305c5193e3cd60c1f576a35bc1e..d3a6585e3663fbf2357f0b838f217791d6c042c3 100644 (file)
@@ -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