summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2006-09-08 07:57:21 +0000
committerJim Meyering <jim@meyering.net>2006-09-08 07:57:21 +0000
commit80799ead4182741e4336624f553a2c79e78ba2ff (patch)
tree2845250bb8ec5473d47b0e816d9c972cf9f3d399
parentaf2c5a4ab0cdec88a65c35b4ad2fa1eb935a93e1 (diff)
downloadcoreutils-80799ead4182741e4336624f553a2c79e78ba2ff.tar.xz
* bootstrap (cp_mark_as_generated): Don't add C-style comments for .l or .y files.
-rw-r--r--ChangeLog1
-rwxr-xr-xbootstrap2
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4d1e68494..670843159 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,7 @@
(slurp): Use it to prepend editor hints and a warning that
the file we're copying is generated.
Suggestion from Bruce Korb.
+ (cp_mark_as_generated): Don't add C-style comments for .l or .y files.
2006-09-07 Jim Meyering <jim@meyering.net>
diff --git a/bootstrap b/bootstrap
index b7f13ca3c..45c1f52c0 100755
--- a/bootstrap
+++ b/bootstrap
@@ -218,7 +218,7 @@ cp_mark_as_generated()
local dst=$2
local c1 c2
case $dst in
- *.[chly]) c1='/* '; c2=' */';;
+ *.[ch]) c1='/* '; c2=' */';;
*.texi) c1='@c '; c2= ;;
*.m4|*/Make*|Make*) c1='# '; c2= ;;
*) ;;