summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flex.morph2
1 files changed, 1 insertions, 1 deletions
diff --git a/flex.morph b/flex.morph
index 9f033eb..f2fb964 100644
--- a/flex.morph
+++ b/flex.morph
@@ -9,7 +9,7 @@
"make"
],
"install-commands": [
- "make install",
+ "make DESTDIR=\"$DESTDIR\" install",
"ln -sv libfl.a \"$DESTDIR/usr/lib/libl.a\"",
"echo '#!/bin/sh' >\"$DESTDIR/usr/bin/lex\"",
"echo 'exec /usr/bin/flex -l \"$@\"' >>\"$DESTDIR/usr/bin/lex\"",