aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8/flex.sh
diff options
context:
space:
mode:
Diffstat (limited to 'chapter8/flex.sh')
-rw-r--r--chapter8/flex.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/chapter8/flex.sh b/chapter8/flex.sh
index 7a693aa..58d7b29 100644
--- a/chapter8/flex.sh
+++ b/chapter8/flex.sh
@@ -1,3 +1,10 @@
#!/bin/bash
+./configure --prefix=/usr \
+ --docdir=/usr/share/doc/flex-"${VERSION}" \
+ --disable-static
+make
+
+make -j1 install
+ln -sv flex /usr/bin/lex