From ef548fd3cad98ea98220f59eb7ce8b41afb2305a Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Tue, 24 Jan 2012 10:29:44 +0100 Subject: [PATCH] setuid: Operate relative to $(DESTDIR) --- src/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 55600a2..cea7cd3 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -24,8 +24,8 @@ weston_SOURCES = \ if ENABLE_SETUID_INSTALL install-exec-hook: - chown root $(bindir)/weston - chmod u+s $(bindir)/weston + chown root $(DESTDIR)$(bindir)/weston + chmod u+s $(DESTDIR)$(bindir)/weston endif if ENABLE_XSERVER_LAUNCHER -- 2.7.4