Make the sed line a little bit more clear (it will get messier later).

This commit is contained in:
David E. O'Brien 2002-04-04 01:25:26 +00:00
parent 19a0f7e1be
commit d93d97cd31
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=93744
2 changed files with 4 additions and 2 deletions

View file

@ -22,7 +22,8 @@ LDADD+= ${LIBCC_INT}
.ORDER: c-parse.c c-parse.h
c-parse.c c-parse.h: c-parse.in
sed -e "/^ifobjc$$/,/^end ifobjc$$/d" \
-e "/^ifc$$/d" -e "/^end ifc$$/d" \
-e "/^ifc$$/d" \
-e "/^end ifc$$/d" \
${.ALLSRC} > c-parse.y
${YACC} -d -o c-parse.c c-parse.y

View file

@ -22,7 +22,8 @@ LDADD+= ${LIBCC_INT}
.ORDER: objc-parse.c c-parse.h
objc-parse.c c-parse.h: c-parse.in
sed -e "/^ifc$$/,/^end ifc$$/d" \
-e "/^ifobjc$$/d" -e "/^end ifobjc$$/d" \
-e "/^ifobjc$$/d" \
-e "/^end ifobjc$$/d" \
${.ALLSRC} > objc-parse.y
${YACC} -d -o objc-parse.c objc-parse.y
mv objc-parse.h c-parse.h