From: bones_was_here <bones_was_here@xonotic.au>
Date: Fri, 24 Nov 2023 05:02:32 +0000 (+1000)
Subject: README.md: mention `make clean`, more specific build deps
X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8e7b42d509d36c9bdda23487612ff1ca8c139b1d;p=xonotic%2Fdarkplaces.git

README.md: mention `make clean`, more specific build deps

Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
---

diff --git a/README.md b/README.md
index 6c29a5c2..72e7b8d6 100644
--- a/README.md
+++ b/README.md
@@ -17,12 +17,17 @@ Developed by LadyHavoc. See [CREDITS](CREDITS.md) for a list of contributors.
 
 ## Build instructions (WIP)
 
-You will need the following packages regardless of platform:
-* SDL2
-* libjpeg
-* libpng
-* libvorbis
-* libogg
+### Required packages
+
+These names are for Debian, you may need to find equivalents for your platform.
+
+##### Client
+Build (mandatory): `build-essential` `libjpeg-dev` `libsdl2-dev`  
+Runtime (optional): `libcurl` `libpng` `libfreetype6` `libvorbisfile`  
+
+##### Dedicated Server
+Build (mandatory): `build-essential` `libjpeg-dev` `zlib1g-dev`  
+Runtime (optional): `libcurl` `libpng`  
 
 ### Windows (MSYS2):
 
@@ -52,6 +57,9 @@ From a terminal, in the engine's root directory, input `make`. On macOS, input `
 
 Input `make help` for options.
 
+If you get errors (that don't seem to be about missing dependencies) try `make clean` before compiling, especially if you updated your system since the last time you compiled.
+
+
 ### Windows (Visual Studio)
 
 Instructions coming soon.