summaryrefslogtreecommitdiffstats
path: root/compile.sh
blob: 003b94cbd7d7938ea9bfe1ddf03e6289f9b0c7c2 (plain)
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
#!/bin/bash

echo
echo

echo "IvySync consists of different applications to manipulate and play"
echo "syncstarted videos on multiple channels. First make sure all your"
echo "dependencies are in place (-devel packages on your distribution)"
echo "then choose below what to compile:"

echo

echo "1 - Standalone player - playback configured playlists"
echo "2 - Playlist editor - graphical interface for playlists"
echo "3 - XMLRPC daemon - remote controlled player daemon"
echo "4 - UDP-Lite daemon - network syncstart of multiple machines"
echo "5 - ALL of the above"

echo

echo "press a number and then [enter]"
read -s sel

make clean

case $sel in
    1)
	make -f Makefile.player
	;;
    2)
	make -f Makefile.playlist
	;;
    3)
	make -f Makefile.xmlrpc
	;;
    4)
	make -f Makefile.udplite
	;;
    5)
	make -f Makefile.player
	make -f Makefile.playlist
	make -f Makefile.xmlrpc
	make -f Makefile.udplite
	;;
    *)
	echo "invalid selection."
	;;
esac