summaryrefslogtreecommitdiff
path: root/po/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'po/Makefile')
-rw-r--r--po/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/po/Makefile b/po/Makefile
index 11f92adee5..cbbd9ab848 100644
--- a/po/Makefile
+++ b/po/Makefile
@@ -1,4 +1,4 @@
-# Copyright (C) 1996,1997,1998,1999,2001,2002,2006,2007
+# Copyright (C) 1996,1997,1998,1999,2001,2002,2006
# Free Software Foundation, Inc.
# This file is part of the GNU C Library.
@@ -71,12 +71,11 @@ 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 $(po-sed-cmd) > $@.new
+ $(..)scripts/list-sources.sh .. | sed -n '/\/tst-/d;\
+ $(foreach S,[ch] cxx sh bash,$(subst .,\.,/.$S\(.in\)*$$/p;))' \
+ > $@.new
mv -f $@.new $@
.SUFFIXES: .mo .po .pot