aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/xkbdata.src/rules/compat/ln_s.sh
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/xkbdata.src/rules/compat/ln_s.sh')
-rw-r--r--xorg-server/xkbdata.src/rules/compat/ln_s.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/xorg-server/xkbdata.src/rules/compat/ln_s.sh b/xorg-server/xkbdata.src/rules/compat/ln_s.sh
new file mode 100644
index 000000000..00c2f593c
--- /dev/null
+++ b/xorg-server/xkbdata.src/rules/compat/ln_s.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+variant=$1
+
+INDIR=`dirname $0`
+OUTFILE=base.l${variant}_s.part
+
+> $OUTFILE
+
+awk '{
+ printf " %s = +%s%%(v['${variant}']):'${variant}'\n", $1, $2;
+}' < $INDIR/layoutRename.lst >> $OUTFILE
+
+awk '{
+ printf " %s(%s) = +%s(%s):'${variant}'\n", $1, $2, $3, $4;
+}' < $INDIR/variantRename.lst >> $OUTFILE