[tbb-commits] [tor-browser-build/master] Add a README.MAKEFILE file to describe makefile rules
boklm at torproject.org
boklm at torproject.org
Tue Aug 15 11:26:26 UTC 2017
commit f291e750afda75d68ba29bbcb998fba67e3f8012
Author: Nicolas Vigier <boklm at torproject.org>
Date: Tue Aug 15 13:22:39 2017 +0200
Add a README.MAKEFILE file to describe makefile rules
---
README | 6 +++++
README.MAKEFILE | 79 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 85 insertions(+)
diff --git a/README b/README
index 751ccdd..de79d35 100644
--- a/README
+++ b/README
@@ -212,3 +212,9 @@ Hacking on the Tor Browser build
The file README.HACKING tries to list the main things to know when
making changes to the Tor Browser build.
+Description of makefile rules
+-----------------------------
+
+You can find a description of the makefile rules in the README.MAKEFILE
+file.
+
diff --git a/README.MAKEFILE b/README.MAKEFILE
new file mode 100644
index 0000000..ef33904
--- /dev/null
+++ b/README.MAKEFILE
@@ -0,0 +1,79 @@
+Description of makefile rules
+=============================
+
+
+release
+-------
+Build Tor Browser for the release channel, for all supported platforms.
+The resulting build can be found in directory release/$version.
+
+release-{linux-x86_64,linux-i686,windows-i686,osx-x86_64}
+---------------------------------------------------------
+Same as release, for the selected platform only.
+
+alpha
+-----
+Build Tor Browser for the alpha channel, for all supported platforms.
+The resulting build can be found in directoryp alpha/$version.
+
+alpha-{linux-x86_64,linux-i686,windows-i686,osx-x86_64}
+-------------------------------------------------------
+Same as alpha, for the selected platform only.
+
+nightly
+-------
+Build Tor Browser for the nightly channel, for all supported platforms.
+Many of the components will be based on the master branch. You might
+want to run "make fetch" before, to fetch the latest commits from all
+components.
+
+The resulting build can be found in directory nightly/$date
+
+nightly-{linux-x86_64,linux-i686,windows-i686,osx-x86_64}
+---------------------------------------------------------
+Same as nightly, for the selected platform only.
+
+alpha_nightly
+-------------
+Build Tor Browser for the alpha channel, for all supported platforms.
+This is the same as 'make alpha', but the output directory is different.
+The resulting build can be found in directory alpha_nightly/$date
+
+alpha_nightly-{linux-x86_64,linux-i686,windows-i686,osx-x86_64}
+---------------------------------------------------------------
+The same as alpha_nightly, for the selected platform only.
+
+testbuild
+---------
+Build a Tor Browser test build. To make the build faster, only the en-US
+locale is created, without mar files. By default it is based on the
+alpha channel, but you can change that by editing rbm.conf.local.
+The resulting build can be found in directory testbuild.
+
+fetch
+-----
+Fetch new commits from all components. This is useful when you want to
+build the nightly channel.
+
+clean
+-----
+Clean files created during previous builds that are no longer used in
+current builds. Before using this command, you first need to configure
+in rbm.local.conf the channel(s) that you are building.
+
+In other software, the clean rule is used to remove all build files,
+but this is not the case here, where only obsolete build files are
+removed. It is usually not necessary to remove all build files before
+starting a new build as the need for rebuilding components is detected
+automatically. If you want to remove all build files, you can remove
+the out/ directory.
+
+clean-dry-run
+-------------
+Print the files that would be removed when running 'make clean'.
+
+signtag-{release,alpha}
+-----------------------
+Create a git signed tag for the selected channel, using the version and
+build number defined as var/torbrowser_version and var/torbrowser_build.
+
More information about the tbb-commits
mailing list