aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/xkbdata.src/rules/compat/ln_s.sh
blob: 00c2f593c8c73f0aaffff452cae150548a922c91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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