Allow specifying a DESTDIR

This commit is contained in:
Brennan LeBlanc 2021-03-23 12:35:42 -03:00 committed by GitHub
parent de10710c32
commit 83664a30a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,13 +17,13 @@ options:
@echo "VERSION: $(VERSION)"
install:
mkdir -p $(PREFIX)/bin
install -m 0755 nekofetch $(PREFIX)/bin/nekofetch
mkdir -p $(DESTDIR)$(PREFIX)/bin
install -m 0755 nekofetch $(DESTDIR)$(PREFIX)/bin/nekofetch
@echo "You may need to install jq, jp2a, and neofetch"
@echo "imagemagick is also required to use the kitty image backend"
uninstall:
rm -f $(PREFIX)/bin/nekofetch
rm -f $(DESTDIR)$(PREFIX)/bin/nekofetch
ioscontrol:
cp control.template ioscontrol