Merge pull request #66 from Guaxinim5573/main

[FIX] Variable name in Makefile
This commit is contained in:
TheDarkBug 2021-04-08 07:42:29 +02:00 committed by GitHub
commit 623590ccd8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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/