From 6e6dcf67af58dc51cb9c355ad8214eb33b6d3d01 Mon Sep 17 00:00:00 2001 From: bones_was_here Date: Tue, 24 Jan 2023 14:12:39 +1000 Subject: [PATCH] Link stable/autobuild compilation doc on README.md and improve Makefile's git error message --- Makefile | 2 +- README.md | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 50d829ef..794588b9 100644 --- a/Makefile +++ b/Makefile @@ -51,7 +51,7 @@ help: @echo " make both" @echo -GIT := $(shell [ -d .git ] && printf "\e[1;31mTo compile from git, please read https://gitlab.com/xonotic/xonotic/-/wikis/Repository_Access\e[m") +GIT := $(shell [ -d .git ] && printf "\e[1;31mThis Makefile only supports stable releases and autobuilds, whereas you are using a git repository. To compile from git, please read https://gitlab.com/xonotic/xonotic/-/wikis/Repository_Access\e[m") ifdef GIT $(error $(GIT)) endif diff --git a/README.md b/README.md index 0f947f4b..a9446a12 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,8 @@ Stable releases and related info are available at https://xonotic.org/download [Beta builds](https://gitlab.com/xonotic/xonotic/-/wikis/Autobuilds) are available at https://beta.xonotic.org/autobuild +The source code included in stable releases and autobuilds can be [compiled as described on the wiki](https://gitlab.com/xonotic/xonotic/-/wikis/Compiling). This is much "lighter" than a full git clone. + *Please note, [Gitlab](https://gitlab.com/xonotic/) is our home for repositories, issue tracking, wikis, etc. The repositories on GitHub are mirrors of GitLab's unless specified otherwise.* ## Community -- 2.39.2