make godot-install target
This commit is contained in:
parent
b28cf3ba06
commit
5c2cdcfffb
14
Makefile
14
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)
|
||||
|
Loading…
Reference in New Issue
Block a user