summaryrefslogtreecommitdiff
path: root/po/meson.build
Commit message (Collapse)AuthorAgeFilesLines
* po: pass the custom xgettext args throughPeter Hutterer2020-09-231-1/+4
| | | | | | | | | | | | | | | | | | | | | Same as with the autotools build, see po/MakeVars This makes translations work with meson now, in the usual fashion: $ meson translation-build $ ninja -C translation-build xkeyboard-config-pot # Now you can optionally remove the build directory $ rm -rf translation-build $ cp po/xkeyboard-config.pot po/$lang.po To update an existing translation, run: $ meson translation-build $ ninja -C translation-build xkeyboard-config-update-po # Now you can optionally remove the build directory $ rm -rf translation-build Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Add support for the meson build systemPeter Hutterer2020-06-191-0/+2
This produces virtually the same installed tree as the autotools builds with the following exceptions: - rules symlinks is no longer supported. This option is 16y old and likely hasn't been used in the last decade or so - the xkeyboard-config.pc file uses expanded paths now, e.g. xkb_base=/usr/share/X11/xkb vs autotools' xkb_base=${datarootdir}/X11/xkb The values are the same for both so this is not a functional change. - substitutions in the man page are hardcoded since we can't use the m4 XORG_MACROS. This appears to only matter for the miscmansuffix and there only for solaris up to including 11.3. so... meh? - the .mo files differ, but it's hard to say why since they're generated Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>