# HG changeset patch # User Matti Hamalainen # Date 1092806041 0 # Node ID be1cf864f28eac9578159b109ed6182f9d2a1dd8 # Parent d75e8051c84ec9243cd37a3c69111110c92a781b Added install-user and uninstall-user targets which install to current user's home-directory, updated installation instructions accordingly. diff -r d75e8051c84e -r be1cf864f28e INSTALL --- 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! :-) - diff -r d75e8051c84e -r be1cf864f28e Makefile.am --- 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