Commit 8146f878 authored by Arnaud Rebillout's avatar Arnaud Rebillout Committed by Arun Raghavan

meson: Fix various install scripts

Signed-off-by: Arnaud Rebillout's avatarArnaud Rebillout <arnaud.rebillout@collabora.com>
parent 8f336ede
......@@ -54,9 +54,11 @@ foreach tuple : manpages
install_dir : mandirn,
)
foreach alias : aliases
foreach alias_stem : aliases
alias = alias_stem + '.' + section
dst = join_paths(mandirn, alias)
meson.add_install_script('ln', '-fs', man, dst)
cmd = 'ln -fs @0@ $DESTDIR@1@'.format(man, dst)
meson.add_install_script('sh', '-c', cmd)
endforeach
if xmllint.found()
......
......@@ -13,5 +13,6 @@ install_data('pulseaudio', install_dir : bashcompletiondir)
foreach alias : aliases
dst = join_paths(bashcompletiondir, alias)
meson.add_install_script('ln', '-fs', 'pulseaudio', dst)
cmd = 'ln -fs @0@ $DESTDIR@1@'.format('pulseaudio', dst)
meson.add_install_script('sh', '-c', cmd)
endforeach
......@@ -5,5 +5,8 @@ set -u
DATADIR="$1"
# Package managers set this so we don't need to run
if [ "${DESTDIR:-}" ]; then exit 0; fi
echo "Compiling GSettings schemas..."
glib-compile-schemas "$DATADIR/glib-2.0/schemas"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment