1
0
mirror of https://github.com/djcb/mu.git synced 2024-06-26 07:29:17 +02:00
mu/build-aux/meson-install-info.sh
Dirk-Jan C. Binnema bcd3e48931 infodir: allow absolute path
Fixes #2548
2023-09-03 17:33:08 +03:00

14 lines
311 B
Bash

#!/bin/sh
infodir=$1
infofile=$2
# Meson post-install script to update info metadata
# If DESTDIR is set, do _not_ install-info, since it's only a temporary
# install
if test -z "${DESTDIR}"; then
install-info --info-dir "${infodir}" "${infodir}/${infofile}"
gzip --force "${infodir}/${infofile}"
fi