Fix sed expression in TAGS command.

The backslash-newline pair is interpreted as the beginning of an address
regex.
This commit is contained in:
Andreas Schwab 2009-08-07 10:40:42 +02:00
parent 0eb258d291
commit 77c84aeb81
2 changed files with 7 additions and 2 deletions

View File

@ -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

View File

@ -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.