diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-04-06 16:17:04 +0200 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-04-06 16:17:04 +0200 |
commit | e7b343f647fa5c44551946b39afdeebe0812c8eb (patch) | |
tree | 8b009e9989323e027814243f35285bfff63a1f2b /misc | |
parent | 217f2b6ec22319c6c01594f0a09e652f3e829a61 (diff) | |
download | xine-lib-e7b343f647fa5c44551946b39afdeebe0812c8eb.tar.gz xine-lib-e7b343f647fa5c44551946b39afdeebe0812c8eb.tar.bz2 |
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.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/Makefile.common | 7 |
1 files changed, 7 insertions, 0 deletions
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 *~ \#* .*~ .\#* |