From 1a7b55d7151c65fed2207a23eba32b951e21e31a Mon Sep 17 00:00:00 2001 From: AngelJumbo Date: Sun, 23 Mar 2025 07:33:31 -0500 Subject: [PATCH] Cross-platform install --- makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/makefile b/makefile index 042377a..a6bed48 100644 --- a/makefile +++ b/makefile @@ -9,8 +9,10 @@ clean: .PHONY: install install: lavat - install -D lavat $(DESTDIR)$(PREFIX)/bin/lavat + mkdir -p $(PREFIX)/bin + install lavat $(PREFIX)/bin/lavat + +.PHONY: uninstall +uninstall: + $(RM) $(PREFIX)/bin/lavat -.PHONY: unistall -unistall: - $(RM) $(DESTDIR)$(PREFIX)/bin/lavat