From 5c2cdcfffb0df16c2cece331e47d21eddd937441 Mon Sep 17 00:00:00 2001 From: Malin Freeborn Date: Sun, 9 Jun 2024 17:43:52 +0200 Subject: [PATCH] make godot-install target --- Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Makefile b/Makefile index 35d8bc7..93d029f 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,8 @@ help: @echo "\tmake pdf" @echo "\tmake creature" @echo "\tmake show" + @echo "\tmake install-godot" + @echo "\tmake uninstall-godot" .PHONY: pdf pdf: overview.pdf @@ -42,6 +44,18 @@ $(COLLECTION): overview.md World @./parse.sh Mechanics/Stats.md >> $(COLLECTION) @lowdown -sTterm $(COLLECTION) | less -R +install-godot: Godot_v4.2.2-stable_linux.x86_64 + install -m 755 Godot_v4.2.2-stable_linux.x86_64 /usr/local/bin/godot + rm Godot_v4.2.2-stable_linux.x86_64.zip + rm Godot_v4.2.2-stable_linux.x86_64 +Godot_v4.2.2-stable_linux.x86_64: + wget https://github.com/godotengine/godot/releases/download/4.2.2-stable/Godot_v4.2.2-stable_linux.x86_64.zip + unzip Godot_v4.2.2-stable_linux.x86_64.zip + +.PHONY: uninstall-godot +uninstall-godot: + rm /usr/local/bin/godot + .PHONY: clean clean: $(RM) -r rubbish overview.tex $(COLLECTION)