[vlc-commits] Remove plugins.dat on uninstallation

Rémi Denis-Courmont git at videolan.org
Sat Jan 28 12:15:13 CET 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jan 28 13:14:53 2012 +0200| [cc40da808d48e63a8df483b00689ddfe70e74a21] | committer: Rémi Denis-Courmont

Remove plugins.dat on uninstallation

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cc40da808d48e63a8df483b00689ddfe70e74a21
---

 Makefile.am |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 44057f0..c34b99e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -456,6 +456,9 @@ install-exec-hook:
 		echo "Cross-compilation: cache generation skipped!" ; \
 	fi
 
+uninstall-hook:
+	rm -f -- "$(DESTDIR)$(vlclibdir)/plugins/plugins.dat"
+
 silentstd = $(silentstd_$(V))
 silentstd_ = $(silentstd_$(AM_DEFAULT_VERBOSITY))
 silentstd_0 = 2>&1 >/dev/null



More information about the vlc-commits mailing list