Uninstall X link and CYGWIN libXorg.exe.a in local install targets

It is our duty to uninstall any files and/or directories that we installed
through install-data-local and install-exec-hook.

Currently the X symbolic link to Xorg remains on disk after running
make uninstall.

Note the exception for logdir which is usually shared by other modules.

Reviewed-By:  Matt Dew <marcoz@osource.org>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
Gaetan Nadon 2013-09-28 15:26:36 -04:00 committed by Keith Packard
parent 35a528e492
commit b8cfb0dc84

View File

@ -98,6 +98,14 @@ if INSTALL_SETUID
chmod u+s $(DESTDIR)$(bindir)/Xorg
endif
uninstall-local:
if CYGWIN
$(AM_V_at)rm -f $(DESTDIR)$(libdir)/libXorg.exe.a
endif
uninstall-hook:
$(AM_V_at)rm -f $(DESTDIR)$(bindir)/X
# Use variables from XORG_MANPAGE_SECTIONS and X Server configuration
# Do not include manpages.am as values are not appropriate for rc files
CONF_SUBSTS = -e 's|__filemansuffix__|$(FILE_MAN_SUFFIX)|g' \