summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2012-02-08 18:02:00 -0800
committerEric Anholt <eric@anholt.net>2012-03-13 12:39:00 -0700
commite7ad5cdcd2eb8a307ad9cf2efdfde76f2e83aeb7 (patch)
tree5511afd105571bb76571b8c9bdf0f51a3fdf83b4
parent0e8d48b920398a8473f39ea886df0379dc77602d (diff)
automake: Don't fail the build if we can't setuid.HEADmaster
The configure default is to setuid root the weston compositor. However, if installing as non-root (say, to your prefix in homedir), the install fails anyway, even if you didn't need setuid to run weston in your configuration.
-rw-r--r--src/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 5ec9fea..67c7414 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -26,8 +26,8 @@ weston_SOURCES = \
if ENABLE_SETUID_INSTALL
install-exec-hook:
- chown root $(DESTDIR)$(bindir)/weston
- chmod u+s $(DESTDIR)$(bindir)/weston
+ -chown root $(DESTDIR)$(bindir)/weston
+ -chmod u+s $(DESTDIR)$(bindir)/weston
endif
if ENABLE_XSERVER_LAUNCHER