diff options
author | marha <marha@users.sourceforge.net> | 2010-02-28 21:21:07 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-02-28 21:21:07 +0000 |
commit | e85e0b6942e6eb9447fcf6c9a5045ba813aa6844 (patch) | |
tree | 1fc646212f66bdf6449fe23b8a47813114095600 /xorg-server/xkbdata.src/rules/bin | |
parent | fedd99993946dd8fc22b60e3611e447f3b8092ca (diff) | |
parent | 9370f043060a1d08bb51484a58c52db85a4ea656 (diff) | |
download | vcxsrv-e85e0b6942e6eb9447fcf6c9a5045ba813aa6844.tar.gz vcxsrv-e85e0b6942e6eb9447fcf6c9a5045ba813aa6844.tar.bz2 vcxsrv-e85e0b6942e6eb9447fcf6c9a5045ba813aa6844.zip |
svn merge ^/branches/released .
Diffstat (limited to 'xorg-server/xkbdata.src/rules/bin')
-rw-r--r-- | xorg-server/xkbdata.src/rules/bin/Makefile.am | 20 | ||||
-rw-r--r-- | xorg-server/xkbdata.src/rules/bin/mln_s.sh | 10 | ||||
-rw-r--r-- | xorg-server/xkbdata.src/rules/bin/mlnvn_s.sh | 8 |
3 files changed, 28 insertions, 10 deletions
diff --git a/xorg-server/xkbdata.src/rules/bin/Makefile.am b/xorg-server/xkbdata.src/rules/bin/Makefile.am index b9785b107..787e34f8a 100644 --- a/xorg-server/xkbdata.src/rules/bin/Makefile.am +++ b/xorg-server/xkbdata.src/rules/bin/Makefile.am @@ -1,10 +1,10 @@ -transform_scripts= \ -ln_s.sh \ -lnv_s.sh \ -ml_s.sh \ -mlv_s.sh \ -ml1_s.sh \ -ml1v_s.sh \ -ml1v1_s.sh - -EXTRA_DIST=$(transform_scripts) +transform_scripts= \
+mln_s.sh \
+mlnvn_s.sh \
+ml_s.sh \
+mlv_s.sh \
+ml1_s.sh \
+ml1v_s.sh \
+ml1v1_s.sh
+
+EXTRA_DIST=$(transform_scripts)
diff --git a/xorg-server/xkbdata.src/rules/bin/mln_s.sh b/xorg-server/xkbdata.src/rules/bin/mln_s.sh new file mode 100644 index 000000000..66794a4fc --- /dev/null +++ b/xorg-server/xkbdata.src/rules/bin/mln_s.sh @@ -0,0 +1,10 @@ +@echo off
+set variant=%1
+
+set OUTFILE=base.ml%variant%_s.part
+
+if exist %OUTFILE% del %OUTFILE%
+
+echo "{ if (index($2, """(""") == 0) { printf """ * %%s = +%%s%%%%(v[%variant%]):%variant%\n""", $1, $2; } else { printf """ * %%s = +%%s:%variant%\n""", $1, $2; }}" < layoutsMapping.lst >> %OUTFILE%
+
+gawk "{ printf """ * %%s(%%s) = +%%s(%%s):%variant%\n""", $1, $2, $3, $4;}" < variantsMapping.lst >> %OUTFILE%
diff --git a/xorg-server/xkbdata.src/rules/bin/mlnvn_s.sh b/xorg-server/xkbdata.src/rules/bin/mlnvn_s.sh new file mode 100644 index 000000000..8e252943b --- /dev/null +++ b/xorg-server/xkbdata.src/rules/bin/mlnvn_s.sh @@ -0,0 +1,8 @@ +@echo off
+set variant=%1
+
+set OUTFILE=base.ml%variant%v%variant%_s.part
+
+if exist %OUTFILE% del %OUTFILE%
+
+gawk "{ printf """ * %%s %%s = +%%s(%%s):%variant%\n""", $1, $2, $3, $4;}" < variantsMapping.lst >> %OUTFILE%
|