aboutsummaryrefslogtreecommitdiff
path: root/test cases/frameworks
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2021-08-08 01:11:50 -0400
committerEli Schwartz <eschwartz@archlinux.org>2021-08-09 18:25:17 -0400
commit487d45c1e5bfff0fbdb4747841db6a0b5b124af9 (patch)
treeb039f3d6ab61277040e39a43a9fd8d81de070189 /test cases/frameworks
parent27b319526c5114a63c63f00c46c4696722e71f56 (diff)
downloadmeson-487d45c1e5bfff0fbdb4747841db6a0b5b124af9.zip
meson-487d45c1e5bfff0fbdb4747841db6a0b5b124af9.tar.gz
meson-487d45c1e5bfff0fbdb4747841db6a0b5b124af9.tar.bz2
i18n: use real build/install targets for gmo files
Don't just create a .PHONY target which runs a script that magically generates files ninja doesn't know about. It results in untracked files, and `meson install` has to run additional commands instead of copying over files, and then cannot track them to uninstall them later. I'm not even really sure why it was originally done via a proxy script, most likely bad legacy design. This is after all one of the oldest modules... One side effect of this is that meson doesn't know how to rename build.CustomTarget files on install (only data files are supported?), and every file needs to be installed as "domainname.mo" so it must be named that in-tree too. To prevent clashes, every locale gets its own locale-specific subdirectory. Once we are doing that anyway, we can output them to the actual structure required by the gettext family of functions, and bindtextdomain() can therefore point to this location if desired. This might be useful for running localized programs from the build tree.
Diffstat (limited to 'test cases/frameworks')
0 files changed, 0 insertions, 0 deletions