Anastasia Klimchuk has uploaded this change for review. ( https://review.coreboot.org/c/flashrom/+/75125 )
Change subject: README: Add installing and packaging instructions for meson ......................................................................
README: Add installing and packaging instructions for meson
Ticket: https://ticket.coreboot.org/issues/489
Change-Id: I2d5900538d54c43efcc8c5b7010df5d867f3b190 Signed-off-by: Anastasia Klimchuk aklm@chromium.org --- M README.rst 1 file changed, 34 insertions(+), 6 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/25/75125/1
diff --git a/README.rst b/README.rst index ff73341..dc8b77c 100644 --- a/README.rst +++ b/README.rst @@ -25,14 +25,9 @@
flashrom supports building with **make** and **meson**.
-Meson build system supports almost all the environments, although not exactly -all of them. Full meson support is on the roadmap in the nearest future. To build flashrom with meson, follow the instruction and information in :doc:`dev_guide/building_from_source`
-If you are unsure which build system to use, and/or don't know what's the -difference, use make for now. - The rest of Build Instructions below refers to building flashrom with make.
**To build flashrom you need to install the following software:** @@ -171,7 +166,17 @@ Installation ------------
-In order to install flashrom and the manpage into /usr/local, type:: +To install flashrom and documentation with meson into ``sbin`` run:: + + meson install -C <your_build_dir> + +To install into a different directory use DESTDIR, like this:: + + DESTDIR=/your/destination/directory meson install -C <your_build_dir> + +The rest of the installation instructions refers to installing with make. + +In order to install flashrom and the manpage into ``/usr/local``, run::
make install
@@ -186,6 +191,17 @@ Packaging ---------
+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. + +To create a distribution package with meson run:: + + meson dist -C <your_build_dir> + +This will collect all git tracked files and pack them into an archive. + +The rest of packaging instructions refers to packaging with make. + To package flashrom and remove dependencies on Git, either use::
make export