qemu/pc-bios/keymaps/Makefile
Gerd Hoffmann 00f4914bae Add pc-bios/keymaps/Makefile
Update files where I think I've figured the correct xkb maps.
TODO: nl-be sl sv

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20171005153330.19210-3-kraxel@redhat.com
2017-10-16 14:50:54 +02:00

57 lines
1.2 KiB
Makefile

KEYMAP := $(shell which qemu-keymap 2>/dev/null)
MAPS := ar bepo cz da de de-ch en-us en-gb es et fi fo \
fr fr-be fr-ca fr-ch \
hr hu is it ja lt lv mk nl no pl pt pt-br ru th tr
ar : MAP_FLAGS := -l ar
bepo : MAP_FLAGS := -l fr -v dvorak
cz : MAP_FLAGS := -l cz
da : MAP_FLAGS := -l dk
de : MAP_FLAGS := -l de
de-ch : MAP_FLAGS := -l ch
en-us : MAP_FLAGS := -l us
en-gb : MAP_FLAGS := -l gb
es : MAP_FLAGS := -l es
et : MAP_FLAGS := -l et
fi : MAP_FLAGS := -l fi
fo : MAP_FLAGS := -l fo
fr : MAP_FLAGS := -l fr
fr-be : MAP_FLAGS := -l be
fr-ca : MAP_FLAGS := -l ca -v fr
fr-ch : MAP_FLAGS := -l ch -v fr
hr : MAP_FLAGS := -l hr
hu : MAP_FLAGS := -l hu
is : MAP_FLAGS := -l is
it : MAP_FLAGS := -l it
ja : MAP_FLAGS := -l jp -m jp106
lt : MAP_FLAGS := -l lt
lv : MAP_FLAGS := -l lv
mk : MAP_FLAGS := -l mk
nl : MAP_FLAGS := -l nl
no : MAP_FLAGS := -l no
pl : MAP_FLAGS := -l pl
pt : MAP_FLAGS := -l pt
pt-br : MAP_FLAGS := -l br
ru : MAP_FLAGS := -l ru
th : MAP_FLAGS := -l th
tr : MAP_FLAGS := -l tr
ifeq ($(KEYMAP),)
all:
@echo "nothing to do (qemu-keymap not found)"
else
all: $(MAPS)
clean:
rm -f $(MAPS)
$(MAPS): $(KEYMAP) Makefile
$(KEYMAP) -f $@ $(MAP_FLAGS)
endif