aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8/kbd.sh
blob: 3a79d3c0bf88b963ff695f67fe90203c6cea7845 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
set -e

patch -Np1 -i ../kbd-"${VERSION}"-backspace-1.patch

sed -i '/RESIZECONS_PROGS=/s/yes/no/' configure
sed -i 's/resizecons.8 //' docs/man/man8/Makefile.in

./configure --prefix=/usr --disable-vlock

make

make -j1 install

mkdir -v /usr/share/doc/kbd-"${VERSION}"
cp -R -v docs/doc/* /usr/share/doc/kbd-"${VERSION}"