[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
make dist target for Windows
From: |
Christoph |
Subject: |
make dist target for Windows |
Date: |
Tue, 30 Mar 2010 21:03:12 -0600 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 |
Find attached a first version of a new make target for the Windows
platform: make dist
This provides a one-click build and packaging for Emacs Windows binary
distribution (full and bin only).
make dist works for source tarballs as well as for creating binary
snapshots from a bzr working copy.
Main changes:
- new parameter for configure.bat to provide path to distribution files,
for example libXpm.dll
- admin.el writes version number to makefile.w32-in (for naming of zip file)
- README.W32 relocated to nt/ directory (from admin/nt)
- makefile.w32-in contains version number, new target dist.
- makefile.w32-in contains new target install-shortcuts to invoke addpm,
so no short cuts are created when packaging
- new file zipdist.bat in nt/ which replaces makedist.bat from admin/nt.
zipdist invokes 7zip to create the zipped binary distributions and
verifies integrity.
The zipdist.bat is necessary to support nmake, which cannot provide the
necessary path manipulation functions to allow creating a zip file
containing the correct root directory. I am using the cmd shell for the
path manipulations to overcome nmakes deficiency. With gmake the zipdist
is theoretically not necessary, but for consistency in the makefile it
is using it, too.
I have tested this on Windows 7, mingw32 (latest version) with the
23.1.94 tarball and a bzr checkout.
Any feedback appreciated.
Christoph
makedistw32.txt
Description: Text document