1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-06 03:40:56 -08:00

Update Build files for Emacs-27

* admin/nt/dist-build/README-windows-binaries,
  admin/nt/dist-build/build-dep-zips.py,
  admin/nt/dist-build/build-zips.sh: Update Version
This commit is contained in:
Phillip Lord 2017-11-27 22:13:41 +00:00
parent 91a7f934ac
commit 405b9cb7c3
3 changed files with 7 additions and 6 deletions

View file

@ -27,17 +27,17 @@ Contains a 32-bit build of Emacs without dependencies
In addition, we provide the following files which will not be useful
for most end-users.
emacs-26-x86_64-deps.zip
emacs-27-x86_64-deps.zip
The dependencies. Unzipping this file on top of
emacs-$VERSION-x86_64-no-deps.zip should result in the same install as
emacs-$VERSION-x86_64.zip.
emacs-26-i686-deps.zip
emacs-27-i686-deps.zip
The 32-bit version of the dependencies.
emacs-26-deps-mingw-w64-src.zip
emacs-27-deps-mingw-w64-src.zip
The source for the dependencies. Source for Emacs itself is available
in the main distribution tarball. These dependencies were produced

View file

@ -26,7 +26,7 @@ import re
from subprocess import check_output
## Constants
EMACS_MAJOR_VERSION="26"
EMACS_MAJOR_VERSION="27"
## Options
@ -103,7 +103,8 @@ def gather_deps(deps, arch, directory):
## And package them up
os.chdir(directory)
print("Zipping: {}".format(arch))
check_output_maybe("zip -9r ../../emacs-26-{}-deps.zip *".format(arch),
check_output_maybe("zip -9r ../../emacs-{}-{}-deps.zip *"
.format(EMACS_MAJOR_VERSION, arch),
shell=True)
os.chdir("../../")

View file

@ -66,7 +66,7 @@ function build_zip {
zip -r -9 emacs-$OF_VERSION-$ARCH-no-deps.zip *
mv emacs-$OF_VERSION-$ARCH-no-deps.zip $HOME/emacs-upload
rm bin/libXpm-noX4.dll
unzip $HOME/emacs-build/deps/emacs-26-$ARCH-deps.zip
unzip $HOME/emacs-build/deps/emacs-$MAJOR_VERSION-$ARCH-deps.zip
zip -r -9 emacs-$OF_VERSION-$ARCH.zip *
mv emacs-$OF_VERSION-$ARCH.zip ~/emacs-upload
}