Fixes --enable-suid-wrapper distcheck.
Signed-off-by: Mihail Konev <[email protected]>
---
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
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel