meson/mesonbuild/scripts
Eli Schwartz 487d45c1e5
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.
2021-08-09 18:25:17 -04:00
..
__init__.py typing: fully annotate scripts 2020-09-08 20:15:56 +02:00
clangformat.py use modern set syntax 2021-07-05 17:55:04 +03:00
clangtidy.py Fix clang-tidy return value reporting (Part Ⅱ) 2020-11-17 17:50:27 +02:00
cleantrees.py mass rewrite of string formatting to use f-strings everywhere 2021-03-04 17:16:11 -05:00
cmake_run_ctgt.py mass rewrite of string formatting to use f-strings everywhere 2021-03-04 17:16:11 -05:00
cmd_or_ps.ps1 Add `meson devenv` command and meson.add_devenv() 2021-03-16 09:00:50 -04:00
coverage.py Escape path in exclude filter passed to gcovr 2021-08-04 20:31:35 +02:00
delwithsuffix.py typing: fully annotate scripts 2020-09-08 20:15:56 +02:00
depfixer.py fix: Always explicitly set encoding for text files (fixes #8263) 2021-06-29 11:28:08 +02:00
depscan.py fix: Always explicitly set encoding for text files (fixes #8263) 2021-06-29 11:28:08 +02:00
dirchanger.py typing: fully annotate scripts 2020-09-08 20:15:56 +02:00
externalproject.py fix: Always explicitly set encoding for text files (fixes #8263) 2021-06-29 11:28:08 +02:00
gettext.py i18n: use real build/install targets for gmo files 2021-08-09 18:25:17 -04:00
gtkdochelper.py mass rewrite of string formatting to use f-strings everywhere 2021-03-04 17:16:11 -05:00
hotdochelper.py typing: fully annotate scripts 2020-09-08 20:15:56 +02:00
meson_exe.py Add feed arg to custom_target() 2021-06-29 20:54:13 +03:00
msgfmthelper.py typing: fully annotate scripts 2020-09-08 20:15:56 +02:00
regen_checker.py Xcode: regenerato project file when build conf changes. 2021-04-19 17:59:40 +03:00
scanbuild.py Do not delete workdir in case scan-build fails. 2021-06-02 21:23:51 +03:00
symbolextractor.py fix: Always explicitly set encoding for text files (fixes #8263) 2021-06-29 11:28:08 +02:00
tags.py typing: get rid of most T.cast 2020-09-08 20:15:58 +02:00
uninstall.py fix: Always explicitly set encoding for text files (fixes #8263) 2021-06-29 11:28:08 +02:00
vcstagger.py fix: Always explicitly set encoding for text files (fixes #8263) 2021-06-29 11:28:08 +02:00
yelphelper.py mass rewrite of string formatting to use f-strings everywhere 2021-03-04 17:16:11 -05:00