-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
27 lines (22 loc) · 695 Bytes
/
Copy pathMakefile
File metadata and controls
27 lines (22 loc) · 695 Bytes
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
install:
@cp src/main.py /usr/bin/yuhfetch
@chmod +x /usr/bin/yuhfetch
@if [ ! -d /etc/yuhfetch/ ]; then \
mkdir -p /etc/yuhfetch/; \
fi
@cp src/version.txt /etc/yuhfetch/version
reinstall:
@make install
uninstall:
@rm /usr/bin/yuhfetch
install-termux:
@cp src/main.termux.py /data/data/com.termux/files/usr/bin/yuhfetch
@chmod +x /data/data/com.termux/files/usr/bin/yuhfetch
@if [ ! -d /data/data/com.termux/files/etc/yuhfetch/ ]; then \
mkdir -p /data/data/com.termux/files/etc/yuhfetch/; \
fi
@cp src/version.txt /data/data/com.termux/files/etc/yuhfetch/version
reinstall-termux:
@make install-termux
uninstall-termux:
@rm /data/data/com.termux/files/usr/bin/yuhfetch