README.MAKEFILE 3.9 KB

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