diff options
| author | Michael Forney <mforney@mforney.org> | 2016-06-27 21:37:23 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2016-06-27 21:37:23 -0700 |
| commit | b9c641e62e676a7b7c7f0454c8e085206549b326 (patch) | |
| tree | 332a1b36f71f38a60066e5fd2d4e50f960405ac2 | |
| parent | 8e51744c096db4228d86daa78658dbf569547d91 (diff) | |
kbd: Avoid globs
| -rw-r--r-- | core/kbd/gen.rc | 8 | ||||
| -rw-r--r-- | core/kbd/keymaps.txt | 239 |
2 files changed, 241 insertions, 6 deletions
diff --git a/core/kbd/gen.rc b/core/kbd/gen.rc index d813efd7..caa5d1b0 100644 --- a/core/kbd/gen.rc +++ b/core/kbd/gen.rc @@ -64,12 +64,8 @@ x 8 showconsolefont x 1 showkey # keymap data -cd data -keymaps=(\ - include sun amiga atari\ - i386/^(azerty bepo dvorak fgGIod qwerty qwertz include olpc colemak)\ - mac/^(include all)\ -) for(keymap in keymaps/$keymaps/*) { +keymaps=`{grep -v '^#' ../keymaps.txt} +for(keymap in keymaps/$keymaps) { build '$outdir'/$keymap.gz gzip '$srcdir'/data/$keymap file share/kbd/$keymap.gz '$outdir'/$keymap.gz 644 } diff --git a/core/kbd/keymaps.txt b/core/kbd/keymaps.txt new file mode 100644 index 00000000..b419eb0c --- /dev/null +++ b/core/kbd/keymaps.txt @@ -0,0 +1,239 @@ +# <cd src/data/keymaps && find * -type f '!' '(' -name README -o -name mk_modmap ')' +amiga/amiga-us.map +amiga/amiga-de.map +atari/atari-se.map +atari/atari-uk-falcon.map +atari/atari-de.map +atari/atari-us.map +i386/dvorak/dvorak.map +i386/dvorak/dvorak-l.map +i386/dvorak/dvorak-fr.map +i386/dvorak/ANSI-dvorak.map +i386/dvorak/no.map +i386/dvorak/dvorak-uk.map +i386/dvorak/dvorak-la.map +i386/dvorak/dvorak-ru.map +i386/dvorak/dvorak-sv-a1.map +i386/dvorak/dvorak-ca-fr.map +i386/dvorak/dvorak-es.map +i386/dvorak/dvorak-sv-a5.map +i386/dvorak/dvorak-programmer.map +i386/dvorak/dvorak-r.map +i386/azerty/wangbe2.map +i386/azerty/fr-latin9.map +i386/azerty/azerty.map +i386/azerty/fr-latin1.map +i386/azerty/fr.map +i386/azerty/wangbe.map +i386/azerty/fr-pc.map +i386/azerty/be-latin1.map +i386/bepo/fr-bepo-latin9.map +i386/bepo/fr-bepo.map +i386/qwerty/bg-cp1251.map +i386/qwerty/ttwin_alt-UTF-8.map +i386/qwerty/ruwin_cplk-CP1251.map +i386/qwerty/pl1.map +i386/qwerty/no-latin1.map +i386/qwerty/lv-tilde.map +i386/qwerty/nl2.map +i386/qwerty/ru-yawerty.map +i386/qwerty/nl.map +i386/qwerty/cz-lat2.map +i386/qwerty/ttwin_cplk-UTF-8.map +i386/qwerty/ruwin_alt_sh-UTF-8.map +i386/qwerty/ruwin_ctrl-CP1251.map +i386/qwerty/tralt.map +i386/qwerty/ru-ms.map +i386/qwerty/kyrgyz.map +i386/qwerty/ua.map +i386/qwerty/pl2.map +i386/qwerty/trf.map +i386/qwerty/it2.map +i386/qwerty/bywin-cp1251.map +i386/qwerty/ky_alt_sh-UTF-8.map +i386/qwerty/ruwin_cplk-KOI8-R.map +i386/qwerty/et-nodeadkeys.map +i386/qwerty/us.map +i386/qwerty/ru_win.map +i386/qwerty/ruwin_ctrl-UTF-8.map +i386/qwerty/pt-latin1.map +i386/qwerty/il.map +i386/qwerty/no-latin1.doc +i386/qwerty/it-ibm.map +i386/qwerty/cf.map +i386/qwerty/mk0.map +i386/qwerty/lt.baltic.map +i386/qwerty/pl.map +i386/qwerty/trq.map +i386/qwerty/no.map +i386/qwerty/dk-latin1.map +i386/qwerty/ru.map +i386/qwerty/ua-utf-ws.map +i386/qwerty/br-abnt2.map +i386/qwerty/et.map +i386/qwerty/ru3.map +i386/qwerty/es-cp850.map +i386/qwerty/sr-cy.map +i386/qwerty/cz-lat2-prog.map +i386/qwerty/il-heb.map +i386/qwerty/cz-cp1250.map +i386/qwerty/sk-qwerty.map +i386/qwerty/ttwin_ct_sh-UTF-8.map +i386/qwerty/se-fi-ir209.map +i386/qwerty/pc110.map +i386/qwerty/fi.map +i386/qwerty/lt.l4.map +i386/qwerty/pt-latin9.map +i386/qwerty/is-latin1-us.map +i386/qwerty/br-abnt.map +i386/qwerty/it.map +i386/qwerty/mk-utf.map +i386/qwerty/se-ir209.map +i386/qwerty/defkeymap_V1.0.map +i386/qwerty/mk-cp1251.map +i386/qwerty/emacs.map +i386/qwerty/ruwin_ct_sh-KOI8-R.map +i386/qwerty/se-fi-lat6.map +i386/qwerty/ru2.map +i386/qwerty/mk.map +i386/qwerty/ruwin_alt-UTF-8.map +i386/qwerty/ro_std.map +i386/qwerty/bg_bds-utf8.map +i386/qwerty/ttwin_ctrl-UTF-8.map +i386/qwerty/emacs2.map +i386/qwerty/br-latin1-us.map +i386/qwerty/ru-cp1251.map +i386/qwerty/ua-cp1251.map +i386/qwerty/ro.map +i386/qwerty/jp106.map +i386/qwerty/tj_alt-UTF8.map +i386/qwerty/bg_bds-cp1251.map +i386/qwerty/pl3.map +i386/qwerty/pl4.map +i386/qwerty/ruwin_alt-KOI8-R.map +i386/qwerty/sk-prog-qwerty.map +i386/qwerty/tr_q-latin5.map +i386/qwerty/se-lat6.map +i386/qwerty/hypermap.m4 +i386/qwerty/hu101.map +i386/qwerty/dk.map +i386/qwerty/kazakh.map +i386/qwerty/ua-ws.map +i386/qwerty/bg_pho-cp1251.map +i386/qwerty/ruwin_ctrl-KOI8-R.map +i386/qwerty/ruwin_ct_sh-UTF-8.map +i386/qwerty/ru4.map +i386/qwerty/is-latin1.map +i386/qwerty/by-cp1251.map +i386/qwerty/lv.map +i386/qwerty/ruwin_alt-CP1251.map +i386/qwerty/ruwin_ct_sh-CP1251.map +i386/qwerty/lt.map +i386/qwerty/ro_win.map +i386/qwerty/us-acentos.map +i386/qwerty/bg_pho-utf8.map +i386/qwerty/gr.map +i386/qwerty/ruwin_cplk-UTF-8.map +i386/qwerty/defkeymap.map +i386/qwerty/uk.map +i386/qwerty/sv-latin1.map +i386/qwerty/es.map +i386/qwerty/gr-pc.map +i386/qwerty/il-phonetic.map +i386/qwerty/by.map +i386/qwerty/ru1.map +i386/qwerty/br-latin1-abnt2.map +i386/qwerty/cz.map +i386/qwerty/bashkir.map +i386/qwerty/bg-cp855.map +i386/qwerty/la-latin1.map +i386/qwerty/ua-utf.map +i386/fgGIod/trf.map +i386/fgGIod/tr_f-latin5.map +i386/olpc/pt.map +i386/olpc/es.map +i386/colemak/en-latin9.map +i386/qwertz/de-latin1.map +i386/qwertz/sg-latin1-lk450.map +i386/qwertz/de-latin1-nodeadkeys.map +i386/qwertz/cz-us-qwertz.map +i386/qwertz/fr_CH.map +i386/qwertz/de_alt_UTF-8.map +i386/qwertz/croat.map +i386/qwertz/sg.map +i386/qwertz/de_CH-latin1.map +i386/qwertz/slovene.map +i386/qwertz/fr_CH-latin1.map +i386/qwertz/sg-latin1.map +i386/qwertz/hu.map +i386/qwertz/de-mobii.map +i386/qwertz/de.map +i386/qwertz/sk-qwertz.map +i386/qwertz/sk-prog-qwertz.map +i386/qwertz/cz.map +i386/include/compose.inc +i386/include/keypad.map +i386/include/euro2.map +i386/include/linux-with-alt-and-altgr.inc +i386/include/euro1.inc +i386/include/linux-keys-extd.inc +i386/include/ctrl.map +i386/include/linux-with-modeshift-altgr.inc +i386/include/applkey.map +i386/include/euro.map +i386/include/qwerty-layout.inc +i386/include/linux-with-two-alt-keys.inc +i386/include/euro1.map +i386/include/unicode.map +i386/include/backspace.map +i386/include/windowkeys.map +i386/include/azerty-layout.inc +i386/include/linux-keys-bare.inc +i386/include/qwertz-layout.inc +include/compose.latin3 +include/compose.8859_7 +include/compose.8859_8 +include/compose.latin4 +include/compose.latin +include/compose.latin2 +include/vim-compose.latin1 +include/compose.latin1 +mac/all/mac-dk-latin1.map +mac/all/mac-fi-latin1.map +mac/all/mac-de-latin1.map +mac/all/mac-es.map +mac/all/mac-it.map +mac/all/mac-be.map +mac/all/mac-dvorak.map +mac/all/mac-se.map +mac/all/mac-us.map +mac/all/mac-de-latin1-nodeadkeys.map +mac/all/mac-fr_CH-latin1.map +mac/all/mac-fr.map +mac/all/mac-pl.map +mac/all/mac-pt-latin1.map +mac/all/mac-template.map +mac/all/mac-uk.map +mac/all/mac-de_CH.map +mac/include/mac-linux-keys-bare.inc +mac/include/mac-euro2.map +mac/include/mac-qwertz-layout.inc +mac/include/mac-azerty-layout.inc +mac/include/mac-qwerty-layout.inc +mac/include/mac-euro.map +sun/sunt5-uk.map +sun/sunt4-no-latin1.map +sun/sunt5-fr-latin1.map +sun/sunt5-cz-us.map +sun/sun-pl-altgraph.map +sun/sunt5-de-latin1.map +sun/sunt5-ru.map +sun/sunkeymap.map +sun/sunt4-fi-latin1.map +sun/sundvorak.map +sun/sun-pl.map +sun/sunt6-uk.map +sun/sunt5-es.map +sun/sunt4-es.map +sun/sunt5-fi-latin1.map +sun/sunt5-us-cz.map |
