-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
60 lines (45 loc) · 1.29 KB
/
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
49
50
51
52
53
54
55
56
57
58
59
60
.PHONY: all
.PHONY: build_cookies
.PHONY: install
.PHONY: uninstall
all: cookies animaljam symlinks
build_cookies: cookies symlinks
build_animaljam: animaljam symlinks
install: install_cookies install_animaljam
uninstall: uninstall_cookies uninstall_animaljam
cookies:
mkdir -p dist/
cd dist/ && \
mkdir -p cookies/cursors/
xcursorgen -p src/cookies/img/ src/cookies/config/default.conf dist/cookies/cursors/default
xcursorgen -p src/cookies/img/ src/cookies/config/pointer.conf dist/cookies/cursors/pointer
cp src/cookies/index.theme dist/cookies/index.theme
animaljam:
mkdir -p dist/
cd dist/ && \
mkdir -p animaljam/cursors/
xcursorgen -p src/animaljam/img/ src/animaljam/config/default.conf dist/animaljam/cursors/default
xcursorgen -p src/animaljam/img/ src/animaljam/config/pointer.conf dist/animaljam/cursors/pointer
cp src/animaljam/index.theme dist/animaljam/index.theme
symlinks:
./build.sh
install_cookies:
mkdir -p ~/.icons/
cp -r dist/cookies/ ~/.icons/cookies/
install_animaljam:
mkdir -p ~/.icons/
cp -r dist/animaljam/ ~/.icons/animaljam/
uninstall_cookies:
cd ~/.icons/ && \
rm -rf cookies/
uninstall_animaljam:
cd ~/.icons/ && \
rm -rf animaljam/
clean_cookies:
cd dist/ && \
rm -rf cookies/
clean_animaljam:
cd dist/ && \
rm -rf animaljam/
clean:
rm -rf dist/