babl: fix some annotation to make the function usable in bindings.
[babl.git] / meson_install_win_debug.sh
blob5d09524bc63ad73d3b229005cbb78528c1de60d4
1 #!/bin/sh
3 find . \( -iname '*.dll' -or -iname '*.exe' \) | \
4 while IFS= read -r build_bin;
5 do
6 build_bin_name="${build_bin##*/}"
7 installed_bin=$(find ${MESON_INSTALL_DESTDIR_PREFIX} -iname "$build_bin_name")
8 if [ x"$installed_bin" != "x" ]; then
9 install_dir=$(dirname ${installed_bin})
10 pdb_debug=$(echo $build_bin|sed 's/\.\(dll\|exe\)$/.pdb/')
11 if [ -f "$pdb_debug" ]; then
12 # Note: meson hides script outputs anyway on success. But this can be
13 # useful when debugging.
14 echo Installing $pdb_debug to $install_dir
15 if [ -z "$MESON_INSTALL_DRY_RUN" ]; then
16 cp -f $pdb_debug $install_dir
20 done;