From b1d16ce115571840bf69a5483f86d407623ec358 Mon Sep 17 00:00:00 2001 From: Tommaso Negri Date: Thu, 15 Oct 2026 11:04:07 +0200 Subject: improve makefile --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index af81feb..c6d3542 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ build: .PHONY: run run: - swift run bar -c debug + swift run -c debug bar .PHONY: clean clean: @@ -14,12 +14,12 @@ clean: .PHONY: install install: build - @install -d $(PREFIX)/bin/ - @install -Dm755 .build/release/bar $(PREFIX)/bin/ + @install -d "$(PREFIX)/bin/" + @install -m 755 ".build/release/bar" "$(PREFIX)/bin/" .PHONY: uninstall uninstall: - @rm -f $(PREFIX)/bin/bar + @rm -f "$(PREFIX)/bin/bar" .PHONY: docs docs: .build/release/bar -- cgit v1.2.3