File: update_ckb

package info (click to toggle)
console-setup 1.68+squeeze2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 24,608 kB
  • ctags: 293
  • sloc: xml: 9,987; perl: 8,478; sh: 3,005; makefile: 672
file content (31 lines) | stat: -rwxr-xr-x 769 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/sh

set -ex

svn delete ckb
svn commit --message 'console-setup: remove Keyboard/ckb, will add the most recent version from CVS'

cvs -d  :pserver:anoncvs@cvs.freedesktop.org:/cvs/xlibs login
cvs -z3 -d :pserver:anoncvs@cvs.freedesktop.org:/cvs/xlibs export -D 1 xkbdesc

cd xkbdesc/rules
make -f ../../ckb.Makefile base
make -f ../../ckb.Makefile base.xml
cp base xorg
cp base.xml xorg.xml

cd ../..

mkdir ckb
for f in keycodes rules symbols; do
    mv xkbdesc/$f ckb/
done
rm -r xkbdesc

rm -r `find ckb -name 'Makefile.am' -o -name '*.in'`
rm -r `find ckb -name '*.sh' -o -name '*.pl'`
rm -r `find ckb -name '.??*'`
rm -r `find ckb -name '*.part' -o -name 'HDR'`

svn add ckb
svn commit --message 'console-setup: add the most recent version of Keyboard/ckb'