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

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}"