[PATCH v2 xserver 3/7] hw/xfree86: add suid wrapper to uninstall target

Mihail Konev k.mvc at ya.ru
Tue Apr 4 23:49:42 UTC 2017


Fixes --enable-suid-wrapper distcheck.

Signed-off-by: Mihail Konev <k.mvc at ya.ru>
---
v2: Add missing ifdef. Reword.

 hw/xfree86/Makefile.am | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/hw/xfree86/Makefile.am b/hw/xfree86/Makefile.am
index 85bd0bed0e58..9e1b58485764 100644
--- a/hw/xfree86/Makefile.am
+++ b/hw/xfree86/Makefile.am
@@ -120,6 +120,9 @@ endif
 
 uninstall-hook:
 	$(AM_V_at)rm -f $(DESTDIR)$(bindir)/X
+if SUID_WRAPPER
+	$(AM_V_at)rm -f $(DESTDIR)$(SUID_WRAPPER_DIR)/Xorg
+endif
 
 # Use variables from XORG_MANPAGE_SECTIONS and X Server configuration
 # Do not include manpages.am as values are not appropriate for rc files
-- 
2.9.2



More information about the xorg-devel mailing list