Mercurial > hg > xmms-sid
comparison Makefile.am @ 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 | 9dfd63f433c4 |
comparison
equal
deleted
inserted
replaced
180:d75e8051c84e | 181:be1cf864f28e |
---|---|
1 # Require latest automake | 1 # Require latest automake |
2 AUTOMAKE_OPTIONS = 1.7 | 2 AUTOMAKE_OPTIONS = 1.7 |
3 | |
4 # Personal XMMS directory in user's home | |
5 USERHOMEPREFIX = ~/.xmms/Plugins | |
3 | 6 |
4 # Additional directories to be included in DISTRIBUTION | 7 # Additional directories to be included in DISTRIBUTION |
5 DIST_SUBDIRS = src | 8 DIST_SUBDIRS = src |
6 | 9 |
7 # All the rest of the distributed files | 10 # All the rest of the distributed files |
18 xmms-1.2.10-songpos.patch \ | 21 xmms-1.2.10-songpos.patch \ |
19 src/xmms-sid-logo.xpm | 22 src/xmms-sid-logo.xpm |
20 | 23 |
21 ChangeLog: CVS/Entries src/CVS/Entries | 24 ChangeLog: CVS/Entries src/CVS/Entries |
22 cvs2cl.pl --passwd /etc/passwd --domain tnsp.org | 25 cvs2cl.pl --passwd /etc/passwd --domain tnsp.org |
26 | |
27 install-user: $(lib_LTLIBRARIES) | |
28 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ | |
29 if test -f $$p; then \ | |
30 f="`echo $$p | sed -e 's|^.*/||'`"; \ | |
31 echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(USERHOMEPREFIX)/$$f"; \ | |
32 $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(USERHOMEPREFIX)/$$f; \ | |
33 else :; fi; \ | |
34 done | |
35 | |
36 uninstall-user: | |
37 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ | |
38 p="`echo $$p | sed -e 's|^.*/||'`"; \ | |
39 echo " $(LIBTOOL) --mode=uninstall rm -f $(USERHOMEPREFIX)/$$p"; \ | |
40 $(LIBTOOL) --mode=uninstall rm -f $(USERHOMEPREFIX)/$$p; \ | |
41 done | |
23 | 42 |
24 # Generated libraries | 43 # Generated libraries |
25 lib_LTLIBRARIES = libxmmssid.la | 44 lib_LTLIBRARIES = libxmmssid.la |
26 | 45 |
27 # Generals | 46 # Generals |