aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8/flex.sh
blob: bf6271755777a2465b09eb4849473c5fd8f0d306 (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