summaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2022-06-30 21:34:29 +0300
committerDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2022-07-01 08:31:00 +0300
commit5e3e2cf28ede79498f96611f2381da2fd1001653 (patch)
treee3df909c520aaf1f001b61c4fafa44b12cd8d9d3 /build-aux
parent99eb3bb67472f21ed0d0031fd15d1a69cd1a7e9f (diff)
build: use install-info when installing mu4e/guile
So the docs can be found.
Diffstat (limited to 'build-aux')
-rw-r--r--build-aux/meson-install-info.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/build-aux/meson-install-info.sh b/build-aux/meson-install-info.sh
new file mode 100644
index 0000000..853ea94
--- /dev/null
+++ b/build-aux/meson-install-info.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+infodir=$1
+infofile=$2
+
+# Meson post-install script to update info metadata
+install-info --info-dir ${MESON_INSTALL_DESTDIR_PREFIX}/${infodir} \
+ ${MESON_INSTALL_DESTDIR_PREFIX}/${infodir}/${infofile}
+
+gzip --force ${MESON_INSTALL_DESTDIR_PREFIX}/${infodir}/${infofile}