From af22615d6a526debc996cfe215fd4bbf6fb26042 Mon Sep 17 00:00:00 2001 From: Robin Candau <53110319+Antiz96@users.noreply.github.com> Date: Sat, 15 Apr 2023 01:26:55 +0200 Subject: [PATCH] feat(Makefile): DESTDIR (#5) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4941289..3d94af0 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,7 @@ test_mt: crystal spec --order random -Dpreview_mt install: - install -D -m 0755 bin/blahaj $(PREFIX)/bin/blahaj + install -D -m 0755 bin/blahaj $(DESTDIR)$(PREFIX)/bin/blahaj uninstall: - rm -f $(PREFIX)/bin/blahaj + rm -f $(DESTDIR)$(PREFIX)/bin/blahaj