diff options
author | Cem Keylan <cem@ckyln.com> | 2021-09-22 19:48:04 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2021-09-22 19:48:04 +0300 |
commit | fac8b0e98415d80a73bb8496a89aa66796083f5b (patch) | |
tree | 8d8277e34937927311c78b758082bf593861afa6 /extra/sqlite/build | |
parent | 5a38105454f9c49b94da9ed8f316ac222d2109ff (diff) | |
download | repository-fac8b0e98415d80a73bb8496a89aa66796083f5b.tar.gz |
sqlite: merge sqlite-docs package
Diffstat (limited to 'extra/sqlite/build')
-rwxr-xr-x | extra/sqlite/build | 12 |
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" |