summaryrefslogtreecommitdiff
path: root/Makefile
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 /Makefile
parent0eb258d291d826d854a12ef0d95c7ca6c359cffa (diff)
Fix sed expression in TAGS command.
The backslash-newline pair is interpreted as the beginning of an address regex.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index cab5ff3a17..e346979c03 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.