From: Gustav Eek <gustav.eek@fripost.org>
Date: Mon, 27 Mar 2023 22:16:03 +0000 (+0200)
Subject: Sys. Bump version and restructure install instruction
X-Git-Tag: v.0.6~2
X-Git-Url: https://git.g-eek.se/?a=commitdiff_plain;h=b0abeeeb0ed5bfe649a940307ec1f3b051af49af;p=ranknauto.git

Sys. Bump version and restructure install instruction
---

diff --git a/Cargo.toml b/Cargo.toml
index 3217a28..4413040 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -4,7 +4,7 @@
 
 [package]
 name = "ranknauto"
-version = "0.5.0"
+version = "0.6.0"
 authors = ["Gustav Eek <gustav.eek@fripost.org>"]
 license = "GPL-3.0-or-later"
 description = "Rank N' Auto, automatic normalized ranking"
diff --git a/Makefile b/Makefile
index 3823045..dea1021 100644
--- a/Makefile
+++ b/Makefile
@@ -12,10 +12,10 @@ PRJ := $(notdir $(PWD))
 
 BIN = target/release/$(PRJ)
 
-release:
-	cargo build --release
+release: $(BIN)
 
-$(BIN): release
+$(BIN):
+	cargo build --release
 
 # Install and uninstall