Typing 'make' in the gcc/ subdirectory of a build tree always yields:

if [ -f /home/eric/cvs/gcc/gcc/cobol/token_names.h.gen ]; then                 
\
        /home/eric/cvs/gcc/gcc/cobol/token_names.h.gen cobol/parse.h    \
        | diff -u /home/eric/cvs/gcc/gcc/cobol/token_names.h -                 
\
        | patch -t --set-time /home/eric/cvs/gcc/gcc/cobol/token_names.h ;     
\
fi

Fixed thus, applied on the mainline as obvious.


2025-10-26  Eric Botcazou  <[email protected]>

        * Make-lang.in ($(srcdir)/cobol/token_names.h): Silence recipe.

-- 
Eric Botcazou
diff --git a/gcc/cobol/Make-lang.in b/gcc/cobol/Make-lang.in
index 1f9995febf1..ed6b588fe72 100644
--- a/gcc/cobol/Make-lang.in
+++ b/gcc/cobol/Make-lang.in
@@ -245,7 +245,7 @@ cobol/scan.o: cobol/scan.cc			\
 # Update token names if the generator script is installed
 # (by a developer) and there's been a change. 
 $(srcdir)/cobol/token_names.h: cobol/parse.cc
-	if [ -f [email protected] ]; then			\
+	@if [ -f [email protected] ]; then			\
 		[email protected] $(subst .cc,.h,$^)	\
 		| diff -u $@ -			\
 		| patch -t --set-time $@ ;	\

Reply via email to