aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8/flex.sh
blob: 94ca651df62d8f8cd15009d2c4a346ba3afac8d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
set -e

./configure --prefix=/usr \
            --docdir=/usr/share/doc/flex-"${VERSION}" \
            --disable-static

make

make -j1 install
ln -sv flex /usr/bin/lex