From 83664a30a042cd4bf206b4d464250de1093f0e75 Mon Sep 17 00:00:00 2001 From: Brennan LeBlanc Date: Tue, 23 Mar 2021 12:35:42 -0300 Subject: [PATCH] Allow specifying a DESTDIR --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index bc71949..ee19b07 100644 --- a/Makefile +++ b/Makefile @@ -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