Mercurial > hg > xmms-sid
changeset 181:be1cf864f28e
Added install-user and uninstall-user targets which install to current
user's home-directory, updated installation instructions accordingly.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 18 Aug 2004 05:14:01 +0000 |
parents | d75e8051c84e |
children | 6db4254f6fff |
files | INSTALL Makefile.am |
diffstat | 2 files changed, 24 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/INSTALL Wed Aug 18 04:13:03 2004 +0000 +++ b/INSTALL Wed Aug 18 05:14:01 2004 +0000 @@ -110,6 +110,9 @@ # make install -If everything went as supposed, try (re)starting XMMS and go play +or to current user only: + +$ make install-user + +If everything went as supposed, try restarting XMMS and go play with your shiny new XMMS-SID-plugin! :-) -
--- a/Makefile.am Wed Aug 18 04:13:03 2004 +0000 +++ b/Makefile.am Wed Aug 18 05:14:01 2004 +0000 @@ -1,6 +1,9 @@ # Require latest automake AUTOMAKE_OPTIONS = 1.7 +# Personal XMMS directory in user's home +USERHOMEPREFIX = ~/.xmms/Plugins + # Additional directories to be included in DISTRIBUTION DIST_SUBDIRS = src @@ -21,6 +24,22 @@ ChangeLog: CVS/Entries src/CVS/Entries cvs2cl.pl --passwd /etc/passwd --domain tnsp.org +install-user: $(lib_LTLIBRARIES) + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ + if test -f $$p; then \ + f="`echo $$p | sed -e 's|^.*/||'`"; \ + echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(USERHOMEPREFIX)/$$f"; \ + $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(USERHOMEPREFIX)/$$f; \ + else :; fi; \ + done + +uninstall-user: + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ + p="`echo $$p | sed -e 's|^.*/||'`"; \ + echo " $(LIBTOOL) --mode=uninstall rm -f $(USERHOMEPREFIX)/$$p"; \ + $(LIBTOOL) --mode=uninstall rm -f $(USERHOMEPREFIX)/$$p; \ + done + # Generated libraries lib_LTLIBRARIES = libxmmssid.la