Steps to reproduce: ./configure # let prefix as /usr/local make sudo make install sudo make uninstall Expected results: All thunar files removed from prefix Actual results: A leftover: /usr/local/bin/Thunar (broken symlink to /usr/local/bin/thunar) Probably due this (thunar/Makefile.am:285): # install symlink to 'thunar' install-exec-hook: $(mkinstalldirs) $(DESTDIR)$(bindir) -( cd $(DESTDIR)$(bindir) ; test -x Thunar || ln -sf thunar Thunar )
I mean, the install-exec-hook is not wrong, just that there's no "uninstall-exec-hook", I don't even know if this is available in autotools sorcery.
Created attachment 7097 Proposed patch Here is the patch, it works here®
It works here too ...
Andre Miranda referenced this bugreport in commit 0265c0ff809517f6e3b2208447a67e5160a661dd Delete Thunar symlink on uninstall (Bug #13533) https://git.xfce.org/xfce/thunar/commit?id=0265c0ff809517f6e3b2208447a67e5160a661dd
Andre Miranda referenced this bugreport in commit 634df2302a979ce8af39e8fffe9980929b2fe945 Delete Thunar symlink on uninstall (Bug #13533) https://git.xfce.org/xfce/thunar/commit?id=634df2302a979ce8af39e8fffe9980929b2fe945
Closing...