File: gen-acorn-keymaps

package info (click to toggle)
console-data 2:1.12-5
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 6,388 kB
  • sloc: sh: 3,272; pascal: 472; makefile: 231; perl: 168
file content (14 lines) | stat: -rwxr-xr-x 354 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

# Generate legacy acorn keymaps

builddir=debian/tmp/usr

for k in `find keymaps/i386 -name *.inc` \
    `find keymaps/i386 -name *.kmap`; do
      ka=`echo $k | sed 's/keymaps/debian\\/tmp\\/usr\\/share\\/keymaps-acorn/'`
      mkdir -p `dirname $ka`
      cat $k | /usr/share/console/ps2-to-riscpc 2>/dev/null | gzip > $ka.gz
	       done