make godot-install target

This commit is contained in:
Malin Freeborn 2024-06-09 17:43:52 +02:00
parent 6ddb1a96be
commit 3be080dbd5
Signed by: andonome
GPG Key ID: 52295D2377F4D70F

View File

@ -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)