Commit 8c4ffec4 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove plugins and builtins with make uninstall (closes #231)

parent 8f7465c6
......@@ -487,6 +487,20 @@ endif
# the opposite of install-{data,exec}-local
uninstall-local:
@for i in "" `$(VLC_CONFIG) --target plugin` ; do if test -n "$$i" ; then \
echo rm -f "$(DESTDIR)$(libdir)/vlc/`echo $$i | sed -e 's,.*modules/\([^/]*\).*,\1,'`/$$(basename $$i$(LIBEXT))" ; \
rm -f "$(DESTDIR)$(libdir)/vlc/`echo $$i | sed -e 's,.*modules/\([^/]*\).*,\1,'`/$$(basename $$i$(LIBEXT))" ; \
fi ; done
@for i in "" `$(VLC_CONFIG) --target builtin` ; do if test -n "$$i" ; then \
echo rm -f "$(DESTDIR)$(libdir)/vlc/$$(basename $$i)" ; \
rm -f "$(DESTDIR)$(libdir)/vlc/$$(basename $$i)" ; \
fi ; done
if BUILD_MOZILLA
@for i in "" `$(VLC_CONFIG) --target builtin pic` ; do if test -n "$$i" ; then \
echo rm -f "$$i" "$(DESTDIR)$(libdir)/vlc/$$(basename $$i)" ; \
rm -f "$$i" "$(DESTDIR)$(libdir)/vlc/$$(basename $$i)" ; \
fi ; done
endif
for i in "" $(ALIASES) ; do if test -n "$$i" ; then \
rm -f "$(DESTDIR)$(bindir)/$$i" ; \
fi ; done
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment