b5ff2b24b4
Aimed at live images at first but should cover installers as well. This has been brewing for quite some time and while the proper implementation is considerably more complex (and hard to do) looks like there's demand for the particular important use case, namely LiveCDs for Russian users, so this code has been shared with a few people before merge.
16 lines
457 B
Makefile
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)"
|