diff options
| author | Eli Zaretskii | 2021-11-03 20:26:28 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2021-11-03 20:26:29 +0200 |
| commit | f78c819d9569ad18cc048554ddeb331a27a58989 (patch) | |
| tree | bd9e61206672a71af7724a079305b07cc11e49fa /admin | |
| parent | d8523060e5dcf285a5468377720bed6a34599df6 (diff) | |
| parent | 3e4eb54db49e23b593664e4a3de3d3d744de61b7 (diff) | |
| download | emacs-f78c819d9569ad18cc048554ddeb331a27a58989.tar.gz emacs-f78c819d9569ad18cc048554ddeb331a27a58989.zip | |
Merge from origin/emacs-28
3e4eb54 ; * etc/PROBLEMS: Minor copyedits of the last change. (Bug#5...
35bc211 Document a macOS error message when opening Emacs
4df9998 Fix header-line and tab-line when mode-line-compact is set
81915a9 Add manual section about how to avoid regexp problems
a16e66c Clarify build environment
6ab6b2f Clarify build directory structure
9d61620 * src/pdumper.c (dump_do_dump_relocation): Add sanity check.
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/nt/dist-build/README-scripts | 37 |
1 files changed, 24 insertions, 13 deletions
diff --git a/admin/nt/dist-build/README-scripts b/admin/nt/dist-build/README-scripts index f27bcd3bd66..6b1adbe03e1 100644 --- a/admin/nt/dist-build/README-scripts +++ b/admin/nt/dist-build/README-scripts | |||
| @@ -3,6 +3,15 @@ Distribution Build Scripts for Windows | |||
| 3 | 3 | ||
| 4 | The scripts are used to build the binary distribution zip files for windows. | 4 | The scripts are used to build the binary distribution zip files for windows. |
| 5 | 5 | ||
| 6 | Environment | ||
| 7 | ----------- | ||
| 8 | |||
| 9 | A full installation of msys2 is required along for the build. The | ||
| 10 | various dependencies of Emacs need to be installed also. These change | ||
| 11 | over time, but are listed in build-deps-zips.py. | ||
| 12 | |||
| 13 | |||
| 14 | |||
| 6 | File System Organization | 15 | File System Organization |
| 7 | ------------------------ | 16 | ------------------------ |
| 8 | 17 | ||
| @@ -15,15 +24,19 @@ The file system needs to be organized like so: | |||
| 15 | 24 | ||
| 16 | ~/emacs-build/git | 25 | ~/emacs-build/git |
| 17 | 26 | ||
| 18 | Contains a checkout of the Emacs git repository, organized according | 27 | Contains checkouts and worktrees of the Emacs git repository, |
| 19 | to branches, with git worktree | 28 | organized according to branches. |
| 20 | 29 | ||
| 21 | ~/emacs-build/git/emacs-$branch | 30 | ~/emacs-build/git/master |
| 22 | 31 | ||
| 23 | A branch of the git repository containing the current release | 32 | A checkout out of the master branch of the Emacs git repository. |
| 33 | |||
| 34 | ~/emacs-build/git/emacs-$major-version | ||
| 35 | |||
| 36 | A worktree of the git repository containing the current release | ||
| 24 | branch. This has to be created by hand. | 37 | branch. This has to be created by hand. |
| 25 | 38 | ||
| 26 | ~/emacs-build/git/emacs-$version | 39 | ~/emacs-build/git/emacs-$release-version |
| 27 | 40 | ||
| 28 | A branch of the git repository containing the last release. The | 41 | A branch of the git repository containing the last release. The |
| 29 | build-zips.sh file will create this for you. | 42 | build-zips.sh file will create this for you. |
| @@ -63,8 +76,8 @@ uploaded. | |||
| 63 | Build Process | 76 | Build Process |
| 64 | ------------- | 77 | ------------- |
| 65 | 78 | ||
| 66 | For each major version | 79 | |
| 67 | ---------------------- | 80 | ### For each major version |
| 68 | 81 | ||
| 69 | The dependencies files need to be created. This can be around the time | 82 | The dependencies files need to be created. This can be around the time |
| 70 | of the pre-tests, then used for all releases of that version, to | 83 | of the pre-tests, then used for all releases of that version, to |
| @@ -88,8 +101,7 @@ files will be created in ~/emacs-upload from where they can be signed | |||
| 88 | and uploaded with `gnupload`. | 101 | and uploaded with `gnupload`. |
| 89 | 102 | ||
| 90 | 103 | ||
| 91 | For snapshots from Master | 104 | ### For snapshots from Master |
| 92 | ------------------------- | ||
| 93 | 105 | ||
| 94 | Snapshots are generally created from master when there is a release | 106 | Snapshots are generally created from master when there is a release |
| 95 | branch on which a release has already been created. At this point, | 107 | branch on which a release has already been created. At this point, |
| @@ -110,8 +122,7 @@ used. | |||
| 110 | Now, run `build-zips.sh -s` to build a snapshot release. | 122 | Now, run `build-zips.sh -s` to build a snapshot release. |
| 111 | 123 | ||
| 112 | 124 | ||
| 113 | For snapshots from a Release Branch | 125 | ### For snapshots from a Release Branch |
| 114 | ----------------------------------- | ||
| 115 | 126 | ||
| 116 | Snapshots can be built from a release branch; this is really only | 127 | Snapshots can be built from a release branch; this is really only |
| 117 | useful before a pre-test has happened. | 128 | useful before a pre-test has happened. |
| @@ -123,8 +134,8 @@ version number must be added to the command line with `build-zips.sh | |||
| 123 | the version (e.g emacs-27-2019-12-26.zip) rather than than the Emacs | 134 | the version (e.g emacs-27-2019-12-26.zip) rather than than the Emacs |
| 124 | version (e.g emacs-27.0.50.zip). | 135 | version (e.g emacs-27.0.50.zip). |
| 125 | 136 | ||
| 126 | For snapshots from another branch | 137 | |
| 127 | --------------------------------- | 138 | ### For snapshots from another branch |
| 128 | 139 | ||
| 129 | Snapshots can be build from any other branch. There is rarely a need | 140 | Snapshots can be build from any other branch. There is rarely a need |
| 130 | to do this, except where some significant, wide-ranging feature is | 141 | to do this, except where some significant, wide-ranging feature is |