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