aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xextra/sqlite-docs/build8
-rw-r--r--extra/sqlite-docs/checksums1
-rw-r--r--extra/sqlite-docs/depends1
-rw-r--r--extra/sqlite-docs/sources1
l---------extra/sqlite-docs/version1
-rwxr-xr-xextra/sqlite/build12
-rw-r--r--extra/sqlite/checksums1
-rw-r--r--extra/sqlite/sources1
8 files changed, 12 insertions, 14 deletions
diff --git a/extra/sqlite-docs/build b/extra/sqlite-docs/build
deleted file mode 100755
index 8a1fd391..00000000
--- a/extra/sqlite-docs/build
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh -e
-
-./configure
-
-make
-mkdir -p "$1/usr/share/man/man3"
-
-./sqlite2mdoc -p "$1/usr/share/man/man3" /usr/include/sqlite3.h
diff --git a/extra/sqlite-docs/checksums b/extra/sqlite-docs/checksums
deleted file mode 100644
index 644c1a17..00000000
--- a/extra/sqlite-docs/checksums
+++ /dev/null
@@ -1 +0,0 @@
-8f24f63ecb9c87475a193564b12a298844a795dff4354409faaddefb2adec829 VERSION_0_1_8.tar.gz
diff --git a/extra/sqlite-docs/depends b/extra/sqlite-docs/depends
deleted file mode 100644
index 9eb9a1d7..00000000
--- a/extra/sqlite-docs/depends
+++ /dev/null
@@ -1 +0,0 @@
-sqlite make
diff --git a/extra/sqlite-docs/sources b/extra/sqlite-docs/sources
deleted file mode 100644
index 7600883d..00000000
--- a/extra/sqlite-docs/sources
+++ /dev/null
@@ -1 +0,0 @@
-https://github.com/kristapsdz/sqlite2mdoc/archive/refs/tags/VERSION_0_1_8.tar.gz
diff --git a/extra/sqlite-docs/version b/extra/sqlite-docs/version
deleted file mode 120000
index 8288af4b..00000000
--- a/extra/sqlite-docs/version
+++ /dev/null
@@ -1 +0,0 @@
-../sqlite/version \ No newline at end of file
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"
diff --git a/extra/sqlite/checksums b/extra/sqlite/checksums
index 600d593f..4fbb637c 100644
--- a/extra/sqlite/checksums
+++ b/extra/sqlite/checksums
@@ -1 +1,2 @@
bd90c3eb96bee996206b83be7065c9ce19aef38c3f4fb53073ada0d0b69bbce3 sqlite-autoconf-3360000.tar.gz
+8f24f63ecb9c87475a193564b12a298844a795dff4354409faaddefb2adec829 VERSION_0_1_8.tar.gz
diff --git a/extra/sqlite/sources b/extra/sqlite/sources
index 84fc70ab..6d289773 100644
--- a/extra/sqlite/sources
+++ b/extra/sqlite/sources
@@ -1 +1,2 @@
https://sqlite.org/2021/sqlite-autoconf-3360000.tar.gz
+https://github.com/kristapsdz/sqlite2mdoc/archive/refs/tags/VERSION_0_1_8.tar.gz mdoc