:: commit f968089eace7db91573b000f6759418325b0d6a1

Mintsuki <mintsuki@protonmail.com> — 2025-03-11 22:14

parents: 6e95529fc0

docs: Move build and install instructions to INSTALL.md

diff --git a/INSTALL.md b/INSTALL.md
new file mode 100644
index 00000000..ae813390
--- /dev/null
+++ b/INSTALL.md
@@ -0,0 +1,48 @@
+# Build and Install Instructions
+
+## Prerequisites
+
+In order to build Limine, the following programs have to be installed:
+common UNIX tools (also known as `coreutils`),
+`GNU make`, `grep`, `sed`, `find`, `awk`, `gzip`, `nasm`, `mtools`
+(optional, necessary to build `limine-uefi-cd.bin`).
+Furthermore, `gcc` or `llvm/clang` must also be installed, alongside
+the respective binutils.
+
+## Configure
+
+If using a release tarball (recommended, see
+https://github.com/limine-bootloader/limine/releases), run `./configure`
+directly.
+
+If checking out from the repository, run `./bootstrap` first in order to
+download the necessary [dependencies](3RDPARTY.md) and generate the configure
+script (`GNU autoconf` required).
+
+`./configure` takes arguments and environment variables; for more information
+on these, run `./configure --help`.
+
+> **NOTE:** `./configure` by default does not build any Limine port. Make sure
+> to read the output of `./configure --help` and enable any or all ports!
+
+Limine supports both in-tree and out-of-tree builds. Simply run the `configure`
+script from the directory you wish to execute the build in. The following
+`make` commands are supposed to be run inside the build directory.
+
+## Building
+
+To build Limine, run:
+```bash
+make    # (or gmake where applicable)
+```
+
+## Installing
+
+This step will install Limine files to `share`, `include`, and `bin`
+directories in the specified prefix (default is `/usr/local`, see
+`./configure --help`.
+
+To install Limine, run:
+```bash
+make install    # (or gmake where applicable)
+```
diff --git a/README.md b/README.md
index 912e5d54..4f4c8aa3 100644
--- a/README.md
+++ b/README.md
@@ -87,55 +87,11 @@ release directory.
 
 Host utility binaries are provided for Windows.
 
-## Building the bootloader
+## Build and Install Instructions
 
-*The following steps are not necessary if cloning a binary release. If so, skip to*
-*"Installing Limine binaries".*
+*The following steps are not necessary if cloning a binary release.*
 
-### Prerequisites
-
-In order to build Limine, the following programs have to be installed:
-common UNIX tools (also known as `coreutils`),
-`GNU make`, `grep`, `sed`, `find`, `awk`, `gzip`, `nasm`, `mtools`
-(optional, necessary to build `limine-uefi-cd.bin`).
-Furthermore, `gcc` or `llvm/clang` must also be installed, alongside
-the respective binutils.
-
-### Configure
-
-If using a release tarball (recommended, see https://github.com/limine-bootloader/limine/releases),
-run `./configure` directly.
-
-If checking out from the repository, run `./bootstrap` first in order to download the
-necessary dependencies and generate the configure script (`GNU autoconf` required).
-
-`./configure` takes arguments and environment variables; for more information on
-these, run `./configure --help`.
-
-**`./configure` by default does not build any Limine port. Make sure to read the**
-**output of `./configure --help` and enable any or all ports!**
-
-Limine supports both in-tree and out-of-tree builds. Simply run the `configure`
-script from the directory you wish to execute the build in. The following `make`
-commands are supposed to be run inside the build directory.
-
-### Building Limine
-
-To build Limine, run:
-```bash
-make    # (or gmake where applicable)
-```
-
-## Installing Limine
-
-This step will install Limine files to `share`, `include`, and
-`bin` directories in the specified prefix (default is `/usr/local`, see
-`./configure --help`, or the `PREFIX` variable if installing from a binary release).
-
-To install Limine, run:
-```bash
-make install    # (or gmake where applicable)
-```
+See [INSTALL.md](INSTALL.md).
 
 ## Usage
 
tab: 248 wrap: offon