glibc/po
Joseph Myers f2da2fd81f Do not build .mo files in source directory (bug 14121).
Building and installing glibc leaves .mo files (compiled message
translations) behind in the source directory.  Building those files in
the source directory may once have made sense, if they were included
in release tarballs; now that release tarballs are just the output of
"git archive", building any non-checked-in files in the source
directory does not make sense.  This patch changes these files to be
built in the build directory instead.  The realclean rule is changed
to simply adding the .mo files to the "generated" variable, since once
the files are in the build directory it make no sense to exclude them
from normal cleanup rules.

This is necessary but not sufficient to avoid build-many-glibcs.py
needing to copy the glibc source directory.  Its list of files to
touch on checkout to avoid subsequent regeneration (configure,
preconfigure, *-kw.h) is incomplete (missing at least INSTALL,
sysdeps/gnu/errlist.c, posix/testcases.h, posix/ptestcases.h,
locale/C-translit.h, (only regenerated for Hurd builds)
sysdeps/mach/hurd/bits/errno.h, (only regenerated for 32-bit SPARC
builds) sysdeps/sparc/sparc32/{sdiv,udiv,rem,urem}.S) - the existing
list may be sufficient to prevent regeneration that actually changes
the file contents depending on the installed build tools, but not to
ensure there is no regeneration at all - and there might well be other
things writing into the source directory in the course of building and
testing (so needing appropriate testing with read-only source
directories with different timestamp orderings to find and eliminate
all such cases).

Tested for x86_64.

	[BZ #14121]
	* po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
	(%.mo): Change to $(objpfx)%.mo.  Use $(make-target-directory).
	($(mo-installed)): Use $(objpfx)%.mo.
	(realclean): Remove rule.
2017-12-15 14:27:20 +00:00
..
.gitignore rename each .cvsignore file to .gitignore 2009-05-15 18:13:37 +02:00
be.po Update translations 2017-07-31 00:13:08 +05:30
bg.po Update translations 2017-07-26 18:27:41 +05:30
ca.po Update translations from the Translation Project 2017-01-11 19:35:35 +05:30
cs.po Update translations 2017-07-26 18:27:41 +05:30
da.po Update translations from the Translation Project 2017-01-11 19:35:35 +05:30
de.po Update translations from the Translation Project 2017-11-03 23:30:23 +00:00
el.po Update translations from the Translation Project 2017-01-11 19:35:35 +05:30
en_GB.po [BZ #3225] 2006-09-22 06:07:26 +00:00
eo.po Update translations from the Translation Project 2017-01-11 19:35:35 +05:30
es.po Update translations from the Translation Project 2017-01-11 19:35:35 +05:30
fi.po Update translations from the Translation Project 2017-01-11 19:35:35 +05:30
fr.po Update translations 2017-09-11 05:50:49 +05:30
gl.po Update translations from the Translation Project 2017-01-11 19:35:35 +05:30
hr.po Update translations from the Translation Project 2017-01-11 19:35:35 +05:30
hu.po Update translations from the Translation Project 2017-01-11 19:35:35 +05:30
ia.po Update translations from the Translation Project 2017-01-11 19:35:35 +05:30
id.po Update translations from the Translation Project 2017-01-11 19:35:35 +05:30
it.po Update translations from the Translation Project 2017-01-11 19:35:35 +05:30
ja.po Update translations from the Translation Project 2017-01-11 19:35:35 +05:30
ko.po Update translations 2017-07-31 00:13:08 +05:30
libc.pot zic: Use PRIdMAX to print line numbers 2017-07-25 12:34:14 +05:30
lt.po Update translations from the Translation Project 2017-01-11 19:35:35 +05:30
Makefile Do not build .mo files in source directory (bug 14121). 2017-12-15 14:27:20 +00:00
nb.po Update translations from the Translation Project 2017-01-11 19:35:35 +05:30
nl.po Update translations 2017-07-31 00:13:08 +05:30
pl.po Update translations 2017-07-26 18:27:41 +05:30
pot.header Rename header.pot to pot.header. 2014-01-08 17:17:48 -05:00
pt_BR.po Update translations from the Translation Project 2017-01-11 19:35:35 +05:30
ru.po Update translations from the Translation Project 2017-11-03 23:30:23 +00:00
rw.po Update translations from the Translation Project 2017-01-11 19:35:35 +05:30
sk.po Update translations from the Translation Project 2017-01-11 19:35:35 +05:30
sl.po Update translations from the Translation Project 2017-01-11 19:35:35 +05:30
sv.po Update translations 2017-09-11 05:50:49 +05:30
tr.po Merge translations from the Translation Project 2017-01-12 15:07:01 +05:30
uk.po Update translations 2017-07-26 18:27:41 +05:30
vi.po Update translations 2017-07-26 18:27:41 +05:30
zh_CN.po Merge translations from the Translation Project 2017-01-12 15:07:01 +05:30
zh_TW.po Update translations from the Translation Project 2017-01-11 19:35:35 +05:30