summaryrefslogtreecommitdiff
path: root/src/install-generated-header.sh
blob: 0078aaf53d2d8fe75ba9c78d10009cb3474994cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

# Script to install generated .h files. This only exists to workaround
# a Meson bug: https://github.com/mesonbuild/meson/issues/705

set -e

HEADER="$1"
TARGET_DIR="$2"

mkdir -p "$DESTDIR$2"
cp $1 "$DESTDIR$2"