MAKEFILE.txt 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. Description of makefile rules
  2. =============================
  3. release
  4. -------
  5. Build Tor Browser for the release channel, for all supported platforms.
  6. The resulting build can be found in directory release/$version.
  7. release-{linux-x86_64,linux-i686,windows-i686,osx-x86_64,android-armv7,
  8. android-x86,android-x86_64,android-aarch64,desktop,android}
  9. -----------------------------------------------------------------------
  10. Same as release, for the selected platform only. The "desktop" platform
  11. means Linux, Windows and macOS. The "android" platform means android for
  12. all architectures we support.
  13. alpha
  14. -----
  15. Build Tor Browser for the alpha channel, for all supported platforms.
  16. The resulting build can be found in directory alpha/$version.
  17. alpha-{linux-x86_64,linux-i686,windows-i686,osx-x86_64,android-armv7,
  18. android-x86,android-x86_64,android-aarch64,desktop,android}
  19. ---------------------------------------------------------------------
  20. Same as alpha, for the selected platform only.
  21. nightly
  22. -------
  23. Build Tor Browser for the nightly channel, for all supported platforms.
  24. Many of the components will be based on the master branch. You might
  25. want to run "make fetch" before, to fetch the latest commits from all
  26. components.
  27. The resulting build can be found in directory nightly/$date
  28. nightly-{linux-x86_64,linux-i686,windows-i686,osx-x86_64,android-armv7,
  29. android-x86,android-x86_64,android-aarch64,desktop,android}
  30. -----------------------------------------------------------------------
  31. Same as nightly, for the selected platform only.
  32. testbuild
  33. ---------
  34. Build a Tor Browser test build. To make the build faster, only the en-US
  35. locale is created, without mar files, and without the source tarballs.
  36. By default it is based on the alpha channel, but you can change that by
  37. editing rbm.local.conf. The resulting build can be found in directory
  38. testbuild.
  39. {release,alpha,nightly,testbuild}-linux-x86_64-asan
  40. ----------------------------------------------------
  41. Create a build for Linux x86_64 with Address Sanitizer enabled.
  42. {release,alpha,nightly,testbuild}-src
  43. -------------------------------------
  44. Create source tarballs for firefox, torbutton and tor-launcher.
  45. fetch
  46. -----
  47. Fetch new commits from all components. This is useful when you want to
  48. build the nightly channel.
  49. clean
  50. -----
  51. Clean files created during previous builds that are no longer used in
  52. current builds. Before using this command, you first need to configure
  53. in rbm.local.conf the channel(s) that you are building.
  54. In other software, the clean rule is used to remove all build files,
  55. but this is not the case here, where only obsolete build files are
  56. removed. It is usually not necessary to remove all build files before
  57. starting a new build as the need for rebuilding components is detected
  58. automatically. If you want to remove all build files, you can remove
  59. the out/ directory.
  60. clean-dry-run
  61. -------------
  62. Print the files that would be removed when running 'make clean'.
  63. signtag-{release,alpha}
  64. -----------------------
  65. Create a git signed tag for the selected channel, using the version and
  66. build number defined as var/torbrowser_version and var/torbrowser_build.
  67. incrementals-{release,alpha}
  68. ----------------------------
  69. Create incremental mar files for an unsigned build in the release or
  70. alpha channel. The list of versions we create incrementals from is
  71. defined as var/torbrowser_incremental_from in rbm.conf.
  72. incrementals-nightly
  73. --------------------
  74. Create incremental mar files for the current nightly build. The number
  75. of previous versions we should generate incremental mars from is defined
  76. as var/max_torbrowser_incremental_from in rbm.conf.
  77. If you want to create incremental mars for a version that is not the
  78. current one, you can define the environment variable
  79. TORBROWSER_NIGHTLY_VERSION to the version you want to generate
  80. incremental mars for.
  81. dmg2mar-{release,alpha)
  82. -----------------------
  83. Generate updated mar files for the OSX bundles, from the dmg files, then
  84. regenerate the OSX incremental mar files. You should run this after
  85. signing the OSX dmg files.
  86. update_responses-{release,alpha}
  87. --------------------------------
  88. Create update responses xml files for a signed build in the release or
  89. alpha channel. The files can be found in a tar in the directory
  90. {release,alpha}/update-responses.