From 173524ed7d0bb5f458251b796f23a2dfc49a4b24 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 23 Aug 2007 09:50:58 +0200 Subject: [PATCH] bootstrap: generate more names and fix a bug * bootstrap (slurp): Don't test for existence of $copied, which is usually a newline-separated list of file names. When generating ignorable names, also map .sin to .sed, .gperf to .c, and .y to .c. --- ChangeLog | 4 ++++ bootstrap | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index bd403da313..ea436ccc1f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2007-08-23 Jim Meyering + bootstrap: generate more ignorable names + * bootstrap (slurp): When generating ignorable names, also map + .sin to .sed, .gperf to .c, and .y to .c. + * Makefile.maint (patch-check): Don't remove temporaries upon failure. 2007-08-22 Jim Meyering diff --git a/bootstrap b/bootstrap index 413ee7f48f..24a1964c58 100755 --- a/bootstrap +++ b/bootstrap @@ -435,7 +435,8 @@ slurp() { # If an ignored file name ends with _.h, then also add # the name with just ".h". Many gnulib headers are generated, # e.g., stdint_.h -> stdint.h, dirent_.h ->..., etc. - f=`echo "$copied"|sed 's/_\.h$/.h/'` + # Likewise for .gperf -> .h, .y -> .c, and .sin -> .sed + f=`echo "$copied"|sed 's/_\.h$/.h/;s/\.sin$/.sed/;s/\.y$/.c/;s/\.gperf$/.h/'` insert_sorted_if_absent $ig "$f" fi done -- 2.47.2