|
1 | | -# $PostgreSQL: pgsql/src/nls-global.mk,v 1.17 2009/01/0910:54:08 petere Exp $ |
| 1 | +# $PostgreSQL: pgsql/src/nls-global.mk,v 1.18 2009/01/0912:37:37 petere Exp $ |
2 | 2 |
|
3 | 3 | # Common rules for Native Language Support (NLS) |
4 | 4 | # |
@@ -96,8 +96,8 @@ init-po: po/$(CATALOG_NAME).pot |
96 | 96 | # For performance reasons, only calculate these when the user actually |
97 | 97 | # requested update-po or a specific file. |
98 | 98 | ifneq (,$(filter update-po%.po.new,$(MAKECMDGOALS))) |
99 | | -ALL_LANGUAGES :=$(shell find$(top_srcdir) -name '*.po' -printf '%f\n' | sort -u |sed 's/\.po$$//') |
100 | | -all_compendia :=$(shell find$(top_srcdir) -name '*.po' -printf '%p ') |
| 99 | +ALL_LANGUAGES :=$(shell find$(top_srcdir) -name '*.po' -print |sed 's,^.*/\([^/]*\).po$$,\1,' | sort -u) |
| 100 | +all_compendia :=$(shell find$(top_srcdir) -name '*.po' -print) |
101 | 101 | else |
102 | 102 | ALL_LANGUAGES =$(AVAIL_LANGUAGES) |
103 | 103 | all_compendia = FORCE |
|