From c93aa4f95b6053480a3d1982c0bb6d6560af11dd Mon Sep 17 00:00:00 2001
From: Simon McVittie <smcv@collabora.com>
Date: Fri, 1 Nov 2019 18:37:33 +0000
Subject: [PATCH] d/rules: Create symlinks for *-wflinfo, *-vulkaninfo in
 helpers path

This will help us to locate those executables in the Steam Runtime
usr/bin directory, even when run without that directory in PATH.

Signed-off-by: Simon McVittie <smcv@collabora.com>
---
 debian/rules | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debian/rules b/debian/rules
index 402da7a76..110cd9dce 100755
--- a/debian/rules
+++ b/debian/rules
@@ -55,6 +55,10 @@ endif
 
 override_dh_auto_install:
 	DESTDIR=$(CURDIR)/debian/tmp ninja -C builddir install
+	ln -s ../../bin/$(DEB_HOST_MULTIARCH)-vulkaninfo \
+		debian/tmp/usr/libexec/steam-runtime-tools-0/
+	ln -s ../../bin/$(DEB_HOST_MULTIARCH)-wflinfo \
+		debian/tmp/usr/libexec/steam-runtime-tools-0/
 	for x in debian/tmp/usr/libexec/installed-tests/steam-runtime-tools-0/*; do \
 		if [ -f "$$x" ] \
 		&& cmp -s "$$x" \
-- 
GitLab