From 77c84aeb81808c3109665949448dba59965c391e Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Fri, 7 Aug 2009 10:40:42 +0200 Subject: Fix sed expression in TAGS command. The backslash-newline pair is interpreted as the beginning of an address regex. --- ChangeLog | 5 +++++ Makefile | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 94cfd06..c6169d7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-08-07 Andreas Schwab + + * Makefile (TAGS): Use separate sed -e expressions to avoid \ + inside ''. + 2009-08-03 H.J. Lu * sysdeps/i386/i686/multiarch/strcspn.S: Add comments for no diff --git a/Makefile b/Makefile index cab5ff3..e346979 100644 --- a/Makefile +++ b/Makefile @@ -341,9 +341,9 @@ endif .PHONY: TAGS TAGS: - scripts/list-sources.sh | sed -n '/Makefile/p;\ + scripts/list-sources.sh | sed -n -e '/Makefile/p' \ $(foreach S,[chsSyl] cxx sh bash pl,\ - $(subst .,\.,/.$S\(.in\)*$$/p;))' \ + $(subst .,\.,-e '/.$S\(.in\)*$$/p')) \ | $(ETAGS) -o $@ - # Make the distribution tarfile. -- cgit v1.1