aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/xkbdata.src/rules/bin/ml_s.sh
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/xkbdata.src/rules/bin/ml_s.sh')
-rw-r--r--xorg-server/xkbdata.src/rules/bin/ml_s.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/xorg-server/xkbdata.src/rules/bin/ml_s.sh b/xorg-server/xkbdata.src/rules/bin/ml_s.sh
new file mode 100644
index 000000000..b7f0d9c46
--- /dev/null
+++ b/xorg-server/xkbdata.src/rules/bin/ml_s.sh
@@ -0,0 +1,9 @@
+@echo off
+
+set OUTFILE=base.ml_s.part
+
+if exist %OUTFILE% del %OUTFILE%
+
+gawk "{ printf """ * %%s = pc+%%s\n""", $1, $2; }" < layoutsMapping.lst >> %OUTFILE%
+
+gawk "{ printf """ * %%s(%%s) = pc+%%s(%%s)\n""", $1, $2, $3, $4; }" < variantsMapping.lst >> %OUTFILE%