[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patches] Fix TAGS target



I've committed the following to trunk, 2.5, and 2.6.

ChangeLog.eglibc:
2007-05-26  Jim Blandy  <jimb@xxxxxxxxxxxxxxxx>

	* Makefile (TAGS): Avoid backslashes in single-quoted strings.

Index: Makefile
===================================================================
--- Makefile	(revision 2244)
+++ Makefile	(working copy)
@@ -356,9 +356,10 @@
 
 .PHONY: TAGS
 TAGS:
-	scripts/list-sources.sh | sed -n '/Makefile/p;\
-	  $(foreach S,[chsSyl] cxx sh bash pl,\
-		    $(subst .,\.,/.$S\(.in\)*$$/p;))' \
+	scripts/list-sources.sh \
+        | sed -n -e '/Makefile/p;' \
+		 -e '$(foreach S,[chsSyl] cxx sh bash pl,\
+		               $(subst .,\.,/.$S\(.in\)*$$/p;))' \
 	| $(ETAGS) -o $@ -
 
 # Make the distribution tarfile.