From fac8b0e98415d80a73bb8496a89aa66796083f5b Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Wed, 22 Sep 2021 19:48:04 +0300 Subject: sqlite: merge sqlite-docs package --- extra/sqlite/build | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'extra/sqlite/build') 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" -- cgit v1.2.3