feat(Makefile): DESTDIR (#5)

This commit is contained in:
Robin Candau 2023-04-15 01:26:55 +02:00 committed by GitHub
parent aca5c3aaa4
commit af22615d6a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,7 +27,7 @@ test_mt:
crystal spec --order random -Dpreview_mt crystal spec --order random -Dpreview_mt
install: install:
install -D -m 0755 bin/blahaj $(PREFIX)/bin/blahaj install -D -m 0755 bin/blahaj $(DESTDIR)$(PREFIX)/bin/blahaj
uninstall: uninstall:
rm -f $(PREFIX)/bin/blahaj rm -f $(DESTDIR)$(PREFIX)/bin/blahaj