aboutsummaryrefslogtreecommitdiff
path: root/extra/sqlite/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/sqlite/build')
-rwxr-xr-xextra/sqlite/build12
1 files changed, 10 insertions, 2 deletions
diff --git a/extra/sqlite/build b/extra/sqlite/build
index 6ac4e05a..3e1cb1b8 100755
--- a/extra/sqlite/build
+++ b/extra/sqlite/build
@@ -2,8 +2,7 @@
export CPPFLAGS="-DSQLITE_ENABLE_COLUMN_METADATA=1"
-sed 's/ -ltinfo//g' configure > _
-cat _ > configure; rm -f _
+clsed 's/ -ltinfo//g' configure
./configure \
--prefix=/usr \
@@ -13,3 +12,12 @@ cat _ > configure; rm -f _
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"