From e7b343f647fa5c44551946b39afdeebe0812c8eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Fri, 6 Apr 2007 16:17:04 +0200 Subject: Define a xinepostdir directory to point to the post-plugins path. Together with this, define a xinepost_LTLIBRARIES class that is used to install the post-plugins in the correct directory. Also add the rule to remove them. --- misc/Makefile.common | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'misc') diff --git a/misc/Makefile.common b/misc/Makefile.common index aa5ec1013..739ebb54e 100644 --- a/misc/Makefile.common +++ b/misc/Makefile.common @@ -5,6 +5,8 @@ xineincludedir = $(includedir)/xine xineplugdir = $(XINE_PLUGINDIR) xineplug_ldflags = $(NOUNDEF) -avoid-version -module +xinepostdir = $(XINE_PLUGINDIR)/post + $(XINE_LIB): @cd $(top_srcdir)/src/xine-engine && $(MAKE) @@ -54,6 +56,11 @@ uninstall-hook: echo " rm -f $(DESTDIR)$(xineplugdir)/$$p"; \ rm -f $(DESTDIR)$(xineplugdir)/$$p; \ done; + @list='$(xinepost_LTLIBRARIES)'; for p in $$list; do \ + p="`echo $$p | sed -e 's/\.la$$/\.so/g;s|^.*/||'`"; \ + echo " rm -f $(DESTDIR)$(xinepostdir)/$$p"; \ + rm -f $(DESTDIR)$(xinepostdir)/$$p; \ + done; mostlyclean-generic: -rm -f *~ \#* .*~ .\#* -- cgit v1.2.3