aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@redhat.com>2009-08-07 10:40:42 +0200
committerAndreas Schwab <schwab@redhat.com>2009-08-07 10:41:30 +0200
commit77c84aeb81808c3109665949448dba59965c391e (patch)
tree82be2062f40af57ba9400233ed9003990229942e
parent0eb258d291d826d854a12ef0d95c7ca6c359cffa (diff)
downloadglibc-77c84aeb81808c3109665949448dba59965c391e.zip
glibc-77c84aeb81808c3109665949448dba59965c391e.tar.gz
glibc-77c84aeb81808c3109665949448dba59965c391e.tar.bz2
Fix sed expression in TAGS command.
The backslash-newline pair is interpreted as the beginning of an address regex.
-rw-r--r--ChangeLog5
-rw-r--r--Makefile4
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 <schwab@redhat.com>
+
+ * Makefile (TAGS): Use separate sed -e expressions to avoid \
+ inside ''.
+
2009-08-03 H.J. Lu <hongjiu.lu@intel.com>
* 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.