summaryrefslogtreecommitdiffstats
path: root/tools/meson-make-manpage-stub.sh
blob: b1af33344283e3222f8b8bb2dd3b2df3cdc57f12 (plain)
1
2
3
4
5
#!/bin/sh
set -eu

mkdir -vp "$(dirname "${DESTDIR:-}$2")"
printf '.so %s\n' "$1" > "${DESTDIR:-}$2"