Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tools/m4/bootstrap prevent $ NetBSD expansion.
details: https://anonhg.NetBSD.org/src/rev/19453f39eb5b
branches: trunk
changeset: 748740:19453f39eb5b
user: christos <christos%NetBSD.org@localhost>
date: Tue Nov 03 22:52:59 2009 +0000
description:
prevent $ NetBSD expansion.
diffstat:
tools/m4/bootstrap/Makefile | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (25 lines):
diff -r 3b249de86f92 -r 19453f39eb5b tools/m4/bootstrap/Makefile
--- a/tools/m4/bootstrap/Makefile Tue Nov 03 22:06:30 2009 +0000
+++ b/tools/m4/bootstrap/Makefile Tue Nov 03 22:52:59 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2009/10/27 18:50:31 christos Exp $
+# $NetBSD: Makefile,v 1.2 2009/11/03 22:52:59 christos Exp $
FILES=parser.h parser.c tokenizer.c
@@ -10,13 +10,13 @@
parser.c parser.h: ${DIST}/parser.y
${YACC} -d ${DIST}/parser.y
- sed -e 's/\$$NetBSD: Makefile,v 1.1 2009/10/27 18:50:31 christos Exp $$]*\)\ \$$/NetBSD:\1/' < y.tab.c > parser.c
+ sed -e 's/\$$''NetBSD:\([^$$]*\)\ \$$/NetBSD:\1/' < y.tab.c > parser.c
rm -f y.tab.c
mv y.tab.h parser.h
tokenizer.c: ${DIST}/tokenizer.l
${LEX} ${DIST}/tokenizer.l
- sed -e 's/\$$NetBSD: Makefile,v 1.1 2009/10/27 18:50:31 christos Exp $$]*\)\ \$$/NetBSD:\1/' < lex.yy.c > ${.TARGET}
+ sed -e 's/\$$''NetBSD:\([^$$]*\)\ \$$/NetBSD:\1/' < lex.yy.c > ${.TARGET}
rm -f lex.yy.c
clean::
Home |
Main Index |
Thread Index |
Old Index