public
Description: Lightweight console-based radio player for Last.FM radio streams.
Homepage: http://nex.scrapping.cc/code/shell-fm/
Clone URL: git://github.com/jkramer/shell-fm.git
Click here to lend your support to: shell-fm and make a donation at www.pledgie.com !
Jan Zerebecki (author)
Sat Nov 07 02:53:02 -0800 2009
jkramer (committer)
Sat Nov 07 04:54:30 -0800 2009
commit  5eb4571cb8f9e86a7183f69171c54f8dbb51e93d
tree    f408b54e58dbddd80711d21b3f6fbd1bda473fec
parent  bafea74c0395db9888a77fbe20198eb143670c01
shell-fm / Makefile
100644 58 lines (39 sloc) 1.185 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
 
DESTDIR =
PREFIX := /usr
MANDIR := $(PREFIX)/man
DOCDIR := ${PREFIX}/share/doc
 
.PHONY : shell-fm manual all clean tags cscope
 
all : shell-fm manual
 
shell-fm :
$(MAKE) -C source
 
manual :
$(MAKE) -C manual
 
install :
install -m 0755 -d $(DESTDIR)$(PREFIX)/bin/
install -m 0755 -d $(DESTDIR)$(MANDIR)/man1/
install -m 0755 source/shell-fm $(DESTDIR)$(PREFIX)/bin/
install -m 0644 manual/shell-fm.1.gz $(DESTDIR)$(MANDIR)/man1/
 
install-extras :
install -m 0755 -d $(DESTDIR)$(DOCDIR)/shell-fm/
cp -r scripts $(DESTDIR)$(DOCDIR)/shell-fm/
 
 
 
install-strip : install
strip $(PREFIX)/bin/shell-fm
 
uninstall : uninstall-extras
rm -f $(PREFIX)/bin/shell-fm
rm -f $(MANDIR)/man1/shell-fm.1.gz
rmdir --ignore-fail-on-non-empty $(PREFIX)/bin
rmdir --ignore-fail-on-non-empty $(MANDIR)/man1
rmdir --ignore-fail-on-non-empty $(MANDIR)
rmdir --ignore-fail-on-non-empty $(PREFIX)
 
uninstall-extras :
rm -rf $(DESTDIR)$(DOCDIR)/shell-fm/
 
clean :
$(MAKE) -C source clean
$(MAKE) -C manual clean
 
 
tags : cscope.files
@rm -f tags
xargs -n50 ctags -a < cscope.files
 
cscope : cscope.files
cscope -b
 
cscope.files :
find source -name '*.[ch]' > cscope.files