~ubuntu-branches/ubuntu/jaunty/belocs-locales-data/jaunty

« back to all changes in this revision

Viewing changes to po/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Denis Barbier
  • Date: 2006-06-08 22:00:09 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20060608220009-xbiuiampv18ok4u9
Tags: 2.4-2
* Modified patches:
  + bz672_include_iso14651_t1_LC_COLLATE.diff
  + include_iso14651_t1_others.diff
    Fix <MIN> and <CAP> collation for several locales.  This is needed so
    that character ranges work as expected, see #362514 for instance.

* New patches:
  + fix_ro_RO_mincap.diff
  + fix_se_NO_mincap.diff
    Some fixes for <MIN> and <CAP> collation.

* Move locale selection from belocs-locales-data into belocs-locales-bin.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 1996,1997,1998,1999,2001,2002 Free Software Foundation, Inc.
 
1
# Copyright (C) 1996,1997,1998,1999,2001,2002,2006
 
2
#       Free Software Foundation, Inc.
2
3
# This file is part of the GNU C Library.
3
4
 
4
5
# The GNU C Library is free software; you can redistribute it and/or
21
22
subdir := po
22
23
 
23
24
# Add names of the languages with broken .po files here.
24
 
BROKEN_LINGUAS = 
 
25
BROKEN_LINGUAS =
25
26
 
26
27
# List of languages for which we have message catalogs of translations.
27
28
ALL_LINGUAS := $(filter-out $(BROKEN_LINGUAS),$(basename $(wildcard *.po)))
54
55
 
55
56
include ../Rules
56
57
 
 
58
# Generate the translation template from all the source files.
 
59
libc.pot: header.pot libc.pot.files
 
60
        @rm -f $@.new
 
61
        set `date -R`; disp="$$6"; \
 
62
        sed -e 's/VERSION/$(version)/' \
 
63
            -e "s/DATE/`date +'%Y-%m-%d %H:%M'$$disp`/" \
 
64
            $< > $@.new
 
65
        cd ..; $(XGETTEXT) --keyword=_ --keyword=N_ \
 
66
                           --add-comments=TRANS --flag=error:3:c-format \
 
67
                           --sort-by-file --omit-header -E -n -d - \
 
68
                           -f po/$(word 2,$^) >> po/$@.new
 
69
        mv -f $@.new $@
 
70
ifeq ($(with-cvs),yes)
 
71
        test ! -d CVS || cvs $(CVSOPTS) ci -m'Regenerated from source files' $@
 
72
endif
 
73
 
 
74
# Omit tst-* files, and get only files with the given suffixes.
 
75
libc.pot.files: FORCE
 
76
        $(..)scripts/list-sources.sh .. | sed -n '/\/tst-/d;\
 
77
          $(foreach S,[ch] cxx sh bash,$(subst .,\.,/.$S\(.in\)*$$/p;))' \
 
78
          > $@.new
 
79
        mv -f $@.new $@
57
80
 
58
81
.SUFFIXES: .mo .po .pot
59
82