mkimage-profiles/features.in/l10n/rootfs/lib/50-l10n.mk
Michael Shigorin 9c263dcb37 l10n: generalize to rootfs
Turns out that vm images might need localization too,
not just live ones.
2017-08-07 18:00:27 +03:00

16 lines
457 B
Makefile

# supplement live with keyboard layout setup
XKB_KEYMAPS := $(subst $(SPACE),$(COMMA),$(XKB_KEYMAPS))
# handle the layouts with a specific variant in the wild
XKB_VARIANTS := $(subst ru,winkeys, \
$(subst ua,winkeys, \
$(subst be,winkeys, \
$(subst us,,$(XKB_KEYMAPS)))))
debug::
@echo "** live: LOCALES: $(LOCALES)"
@echo "** live: LOCALE: $(LOCALE)"
@echo "** live: XKB_KEYMAPS: $(XKB_KEYMAPS)"
@echo "** live: XKB_VARIANTS: $(XKB_VARIANTS)"