[PATCH] setuid: Operate relative to $(DESTDIR)
Benjamin Franzke
benjaminfranzke at googlemail.com
Tue Jan 24 01:29:44 PST 2012
---
src/Makefile.am | 4 ++--
1 files 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
--
1.7.3.4
More information about the wayland-devel
mailing list