summaryrefslogtreecommitdiffstats
path: root/doc/dev_guide/building_from_source.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/dev_guide/building_from_source.rst')
-rw-r--r--doc/dev_guide/building_from_source.rst16
1 files changed, 14 insertions, 2 deletions
diff --git a/doc/dev_guide/building_from_source.rst b/doc/dev_guide/building_from_source.rst
index 42a16f017..9c2959e74 100644
--- a/doc/dev_guide/building_from_source.rst
+++ b/doc/dev_guide/building_from_source.rst
@@ -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.