aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlaf Hering <olh@suse.de>2005-01-22 00:22:52 +0000
committerH. Peter Anvin <hpa@zytor.com>2005-01-22 00:22:52 +0000
commitefb8d967466928c6f2112d2c26fb036b5787f270 (patch)
tree3bd0ed370732c7f77f1115a90a834377450d727f
parent08202d1509bb1086e7b1e10ff7920637b73c17fd (diff)
downloadklibc-efb8d967466928c6f2112d2c26fb036b5787f270.tar.gz
Use perl instead of sed so we can use whitespace matchingklibc-0.198
-rw-r--r--ash/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/ash/Makefile b/ash/Makefile
index 7a1d3cd88a3c6..4f7d879ae95cb 100644
--- a/ash/Makefile
+++ b/ash/Makefile
@@ -143,7 +143,7 @@ arith_lex.c: arith_lex.l
mv lex.yy.c $@
arith.h: arith.c
- sed -n '/^#define ARITH/p' $< > $@
+ $(PERL) -ne 'print if ( /^\#\s*define\s+ARITH/ );' < $< > $@
clean:
rm -f core $(CLEANFILES) $(OBJS) .*.d *.g