changeset 731:23ca05b27408

Fix "userdir only" installation via 'make install-user'.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 09 Jun 2011 12:01:04 +0300
parents 337b3c17b4db
children 8312acdb7b15
files Makefile.am
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.am	Thu Jun 09 11:59:49 2011 +0300
+++ b/Makefile.am	Thu Jun 09 12:01:04 2011 +0300
@@ -14,7 +14,7 @@
 SUBDIRS = po
 
 # Personal XMMS directory in user's home
-USERHOMEPREFIX = ~/.xmms/Plugins
+USERHOMEPREFIX = $$HOME/.xmms/Plugins
 
 # All the rest of the distributed files
 EXTRA_DIST = mkinstalldirs 		\
@@ -49,7 +49,7 @@
 	  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; \
+	    $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(USERHOMEPREFIX)/$$f; \
 	  else :; fi; \
 	done