summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSven Eden <yamakuzure@gmx.net>2017-12-08 17:53:48 +0100
committerSven Eden <yamakuzure@gmx.net>2017-12-08 17:54:29 +0100
commite2976634b8c7b1907bce27acb2682c0972a862b5 (patch)
tree855b4bc89f2a839fbdcfad9d90acd99840052bd6 /tools
parent7426d18c6001ea1b90267e14d6f85ce24994bebb (diff)
Meson build system: Recreate the symlinking of elogind/systemd/*.h headers into elogin/
Diffstat (limited to 'tools')
-rwxr-xr-xtools/meson-symlink_headers.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/meson-symlink_headers.sh b/tools/meson-symlink_headers.sh
new file mode 100755
index 000000000..e5ca647d1
--- /dev/null
+++ b/tools/meson-symlink_headers.sh
@@ -0,0 +1,9 @@
+#!/bin/sh -eu
+
+INCDIR="$1"
+shift 1
+
+while [ $# -gt 0 ] ; do
+ ln -vfs "systemd/$1" "${INCDIR}/elogind/$1"
+ shift 1
+done