summaryrefslogtreecommitdiffstats
path: root/tools/meson-make-manpage-stub.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tools/meson-make-manpage-stub.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/meson-make-manpage-stub.sh b/tools/meson-make-manpage-stub.sh
new file mode 100644
index 0000000..b1af333
--- /dev/null
+++ b/tools/meson-make-manpage-stub.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+set -eu
+
+mkdir -vp "$(dirname "${DESTDIR:-}$2")"
+printf '.so %s\n' "$1" > "${DESTDIR:-}$2"