mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
* MakeTAGS (XGETTEXTFLAGS-siglist.pot, XGETTEXTFLAGS-errlist.pot): Add
--no-location. (all-pot): Replace $(subdirs) files with $P/subdirs.pot. ($P/subdirs.pot): New target. ($P/SYS_libc.pot): Add -n switch.
This commit is contained in:
parent
a141dd342d
commit
7a1c652d58
@ -1,5 +1,11 @@
|
||||
Thu Mar 28 14:22:51 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
|
||||
|
||||
* MakeTAGS (XGETTEXTFLAGS-siglist.pot, XGETTEXTFLAGS-errlist.pot): Add
|
||||
--no-location.
|
||||
(all-pot): Replace $(subdirs) files with $P/subdirs.pot.
|
||||
($P/subdirs.pot): New target.
|
||||
($P/SYS_libc.pot): Add -n switch.
|
||||
|
||||
* locale/locale.h (LC_*): Values reordered to match Linux libc.
|
||||
|
||||
* sysdeps/mach/hurd/kill.c: If proc_pid2task gives us MACH_PORT_NULL
|
||||
|
18
MakeTAGS
18
MakeTAGS
@ -146,16 +146,26 @@ $P/siglist.pot: $(common-objpfx)siglist.c; $(extract)
|
||||
$P/errlist.pot: $(..)sysdeps/mach/hurd/errlist.c; $(extract)
|
||||
|
||||
# Extract all strings from these files; their strings are not marked.
|
||||
XGETTEXTFLAGS-siglist.pot = -a
|
||||
XGETTEXTFLAGS-errlist.pot = -a
|
||||
# Their surroundings are also not interesting.
|
||||
XGETTEXTFLAGS-siglist.pot = -a --no-location
|
||||
XGETTEXTFLAGS-errlist.pot = -a --no-location
|
||||
|
||||
all-pot = $P/libc-top.pot $(subdirs:%=$P/%.pot) \
|
||||
all-pot = $P/libc-top.pot $P/subdirs.pot \
|
||||
$P/siglist.pot $P/errlist.pot
|
||||
|
||||
ifndef subdir
|
||||
# Collect all the subdir messages, massaging the file names in comments
|
||||
# to include the subdir name.
|
||||
$P/subdirs.pot: $(subdirs:%=$P/%.pot)
|
||||
@rm -f $@.new
|
||||
(for d in $(subdirs); \
|
||||
do sed "s%^#: %&$$d/%" $P/$$d.pot; done) > $@.new
|
||||
mv -f $@.new $@
|
||||
|
||||
# Combine all the messages into the final sorted template translation file.
|
||||
$P/SYS_libc.pot: $(all-pot)
|
||||
@rm -f $@.new
|
||||
$(XGETTEXT) -d - --omit-header $^ > $@.new
|
||||
$(XGETTEXT) -d - -n -s --omit-header $^ > $@.new
|
||||
mv -f $@.new $@
|
||||
test ! -d CVS || cvs ci -m'Regenerated from source files' $@
|
||||
|
||||
|
819
po/SYS_libc.pot
819
po/SYS_libc.pot
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user