-
Notifications
You must be signed in to change notification settings - Fork 271
/
Makefile
48 lines (35 loc) · 786 Bytes
/
Makefile
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
MPURPLE = $(MAKE) -C src/purple
MGUI = $(MAKE) -C src/gui
MCORE = $(MAKE) -C src/core
MTOOLS = $(MAKE) -C src/tools
MBIN = $(MAKE) -C bin
all: purple
install: installpurple
purple:
$(MPURPLE) all
gui:
$(MGUI) all
installpurple:
$(MPURPLE) install
installgui:
$(MGUI) install
clean:
$(MCORE) clean
$(MPURPLE) clean
$(MGUI) clean
$(MTOOLS) clean
$(MBIN) clean
## this is only for myself for making the
## archives that I upload to github
demozip: clean
$(MPURPLE) demo
$(MTOOLS) all
$(MTOOLS) zip
## this one is for my friendly plugin tester
update: clean pull purple demoinstall
pull:
git pull
demoinstall:
install bin/libpurpletorchat.so ~/.purple/plugins
demosymlink:
ln -fs `readlink -f bin/libpurpletorchat.so` ~/.purple/plugins/libpurpletorchat.so