diff options
| author | Tommaso Negri <me@tommasongr.com> | 2026-10-15 11:04:07 +0200 |
|---|---|---|
| committer | Tommaso Negri <me@tommasongr.com> | 2026-10-15 11:04:07 +0200 |
| commit | b1d16ce115571840bf69a5483f86d407623ec358 (patch) | |
| tree | 37f93fb337f37195423f8d2d52063cc2c12e7241 /Makefile | |
| parent | 758f757cb9b60dddf10efd5d37becfec9f4b5196 (diff) | |
| download | bar-b1d16ce115571840bf69a5483f86d407623ec358.tar.gz bar-b1d16ce115571840bf69a5483f86d407623ec358.zip | |
improve makefile
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |
