summary refs log tree commit diff
path: root/po
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2007-05-29 18:08:41 +0000
committerRoland McGrath <roland@gnu.org>2007-05-29 18:08:41 +0000
commit977e7f71fdbb629acc8f970922727d96b52eb695 (patch)
tree61b027c612858061cf306be74609f9b5b6959e5c /po
parentee5d5755a826eb7b48bdf020bef397a33868780b (diff)
downloadglibc-977e7f71fdbb629acc8f970922727d96b52eb695.tar.gz
glibc-977e7f71fdbb629acc8f970922727d96b52eb695.tar.xz
glibc-977e7f71fdbb629acc8f970922727d96b52eb695.zip
2007-05-29 Roland McGrath <roland@redhat.com>
	* po/Makefile (po-sed-cmd): New variable.
	(libc.pot.files): Move sed command text in there, avoid \ inside ''.
Diffstat (limited to 'po')
-rw-r--r--po/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/po/Makefile b/po/Makefile
index cbbd9ab848..11f92adee5 100644
--- a/po/Makefile
+++ b/po/Makefile
@@ -1,4 +1,4 @@
-# Copyright (C) 1996,1997,1998,1999,2001,2002,2006
+# Copyright (C) 1996,1997,1998,1999,2001,2002,2006,2007
 #	Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
@@ -71,11 +71,12 @@ ifeq ($(with-cvs),yes)
 	test ! -d CVS || cvs $(CVSOPTS) ci -m'Regenerated from source files' $@
 endif
 
+po-sed-cmd = \
+  '/\/tst-/d;$(foreach S,[ch] cxx sh bash,$(subst .,\.,/.$S\(.in\)*$$/p;))'
+
 # Omit tst-* files, and get only files with the given suffixes.
 libc.pot.files: FORCE
-	$(..)scripts/list-sources.sh .. | sed -n '/\/tst-/d;\
-	  $(foreach S,[ch] cxx sh bash,$(subst .,\.,/.$S\(.in\)*$$/p;))' \
-	  > $@.new
+	$(..)scripts/list-sources.sh .. | sed -n $(po-sed-cmd) > $@.new
 	mv -f $@.new $@
 
 .SUFFIXES: .mo .po .pot