1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-02 22:43:17 +02:00

README: Extract instructions for meson and make into separate docs

This patch extracts building/installing/packaging documentation for
meson and make into two separate doc files, and then links these files
from README.

Re-structure README so that it gives only a brief overview of build
instructions and links to full instructions for meson and make.

Ticket: https://ticket.coreboot.org/issues/489

Change-Id: I2d5900538d54c43efcc8c5b7010df5d867f3b190
Signed-off-by: Anastasia Klimchuk <aklm@chromium.org>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/75125
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Peter Marheine <pmarheine@chromium.org>
This commit is contained in:
Anastasia Klimchuk
2023-05-10 18:20:58 +10:00
parent 5c8469953b
commit 4fbb152402
4 changed files with 218 additions and 180 deletions

View File

@ -240,15 +240,27 @@ For additional information see `the meson documentation <https://mesonbuild.com/
Installing
----------
Run::
To install flashrom and documentation, run::
meson install -C <builddir>
This will install flashrom under the PREFIX selected in the configuration phase. Default is ``/usr/local``.
To install into a different directory use DESTDIR, like this::
DESTDIR=/your/destination/directory meson install -C <your_build_dir>
You can also set the prefix during configuration with::
meson setup --prefix <DESTDIR> <your_build_dir>
Create distribution package
---------------------------
To create a distribution tarball from your <builddir>, run::
To create a distribution tarball from your ``builddir``, run::
meson dist -C <builddir>
This will collect all git tracked files and pack them into an archive.
Current flashrom version is in the VERSION file. To release a new flashrom
version you need to change VERSION file and tag the changing commit.