aboutsummaryrefslogtreecommitdiff
path: root/extra/sqlite/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/sqlite/build')
-rwxr-xr-xextra/sqlite/build13
1 files changed, 11 insertions, 2 deletions
diff --git a/extra/sqlite/build b/extra/sqlite/build
index 6ac4e05a..b0990be0 100755
--- a/extra/sqlite/build
+++ b/extra/sqlite/build
@@ -2,14 +2,23 @@
export CPPFLAGS="-DSQLITE_ENABLE_COLUMN_METADATA=1"
-sed 's/ -ltinfo//g' configure > _
-cat _ > configure; rm -f _
+clsed 's/ -ltinfo//g' configure
./configure \
--prefix=/usr \
--enable-threadsafe \
+ --disable-readline \
--enable-dynamic-extensions \
--enable-fts5
make
make DESTDIR="$1" install
+
+# Build sqlite manual pages
+cd mdoc
+
+./configure
+make
+
+mkdir -p "$1/usr/share/man/man3"
+./sqlite2mdoc -p "$1/usr/share/man/man3" "$1/usr/include/sqlite3.h"