Merge pull request #66 from Guaxinim5573/main
[FIX] Variable name in Makefile
This commit is contained in:
commit
623590ccd8
1 changed files with 4 additions and 4 deletions
8
Makefile
8
Makefile
|
@ -14,19 +14,19 @@ debug:
|
||||||
./uwufetch
|
./uwufetch
|
||||||
|
|
||||||
install:
|
install:
|
||||||
cp $(NAME) $(DESTDIR)$(INSTALL_DIR)/$(NAME)
|
cp $(NAME) $(DESTDIR)$(PREFIX)/$(NAME)
|
||||||
ls $(DESTDIR)/usr/lib/uwufetch/ 2> /dev/null || mkdir $(DESTDIR)/usr/lib/uwufetch/
|
ls $(DESTDIR)/usr/lib/uwufetch/ 2> /dev/null || mkdir $(DESTDIR)/usr/lib/uwufetch/
|
||||||
cp res/* $(DESTDIR)/usr/lib/uwufetch/
|
cp res/* $(DESTDIR)/usr/lib/uwufetch/
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
rm -f $(DESTDIR)$(INSTALL_DIR)/$(NAME)
|
rm -f $(DESTDIR)$(PREFIX)/$(NAME)
|
||||||
rm -rf $(DESTDIR)/usr/lib/uwufetch/
|
rm -rf $(DESTDIR)/usr/lib/uwufetch/
|
||||||
|
|
||||||
termux: build
|
termux: build
|
||||||
cp $(NAME) $(DESTDIR)/data/data/com.termux/files$(INSTALL_DIR)/$(NAME)
|
cp $(NAME) $(DESTDIR)/data/data/com.termux/files$(PREFIX)/$(NAME)
|
||||||
ls $(DESTDIR)/data/data/com.termux/files/usr/lib/uwufetch/ > /dev/null || mkdir $(DESTDIR)/data/data/com.termux/files/usr/lib/uwufetch/
|
ls $(DESTDIR)/data/data/com.termux/files/usr/lib/uwufetch/ > /dev/null || mkdir $(DESTDIR)/data/data/com.termux/files/usr/lib/uwufetch/
|
||||||
cp res/* /data/data/com.termux/files/usr/lib/uwufetch/
|
cp res/* /data/data/com.termux/files/usr/lib/uwufetch/
|
||||||
|
|
||||||
termux_uninstall:
|
termux_uninstall:
|
||||||
rm -rf $(DESTDIR)/data/data/com.termux/files$(INSTALL_DIR)/$(NAME)
|
rm -rf $(DESTDIR)/data/data/com.termux/files$(PREFIX)/$(NAME)
|
||||||
rm -rf $(DESTDIR)/data/data/com.termux/files/usr/lib/uwufetch/
|
rm -rf $(DESTDIR)/data/data/com.termux/files/usr/lib/uwufetch/
|
||||||
|
|
Loading…
Reference in a new issue