From e0d6af9cc6544f93da4fac99226f0f9cfa01440d Mon Sep 17 00:00:00 2001 From: Christoph Scholtes Date: Sat, 24 Jul 2010 16:04:10 -0600 Subject: [PATCH] Code cleanup. Added ChangeLog entry. --- nt/ChangeLog | 6 ++++++ nt/makefile.w32-in | 22 +++++++++++----------- nt/zipdist.bat | 2 +- 3 files changed, 18 insertions(+), 12 deletions(-) diff --git a/nt/ChangeLog b/nt/ChangeLog index fbf5bdbaa30..4bbf483eb69 100644 --- a/nt/ChangeLog +++ b/nt/ChangeLog @@ -1,3 +1,9 @@ +2010-07-24 Christoph Scholtes + + * makefile.w32-in: Use temporary directory to create distribution + zip files in `dist' target. + * zipdist.bat: Simplify code using temporary directory. + 2010-07-24 Christoph Scholtes New make target for Windows platform: make dist (bug#6602) diff --git a/nt/makefile.w32-in b/nt/makefile.w32-in index f8e3390873c..58f4478fb84 100644 --- a/nt/makefile.w32-in +++ b/nt/makefile.w32-in @@ -251,17 +251,17 @@ install-shortcuts: dist: install-bin mkdir $(TMP_DIST_DIR) - $(CP) $(INSTALL_DIR)/BUGS $(TMP_DIST_DIR) - $(CP) $(INSTALL_DIR)/COPYING $(TMP_DIST_DIR) - $(CP) $(INSTALL_DIR)/README $(TMP_DIST_DIR) - $(CP) $(INSTALL_DIR)/README.W32 $(TMP_DIST_DIR) - $(CP) $(INSTALL_DIR)/INSTALL $(TMP_DIST_DIR) - $(CP_DIR) $(INSTALL_DIR)/bin $(TMP_DIST_DIR) - $(CP_DIR) $(INSTALL_DIR)/etc $(TMP_DIST_DIR) - $(CP_DIR) $(INSTALL_DIR)/info $(TMP_DIST_DIR) - $(CP_DIR) $(INSTALL_DIR)/lisp $(TMP_DIST_DIR) - $(CP_DIR) $(INSTALL_DIR)/leim $(TMP_DIST_DIR) - $(CP_DIR) $(INSTALL_DIR)/site-lisp $(TMP_DIST_DIR) + $(CP) "$(INSTALL_DIR)/BUGS" $(TMP_DIST_DIR) + $(CP) "$(INSTALL_DIR)/COPYING" $(TMP_DIST_DIR) + $(CP) "$(INSTALL_DIR)/README" $(TMP_DIST_DIR) + $(CP) "$(INSTALL_DIR)/README.W32" $(TMP_DIST_DIR) + $(CP) "$(INSTALL_DIR)/INSTALL" $(TMP_DIST_DIR) + $(CP_DIR) "$(INSTALL_DIR)/bin" $(TMP_DIST_DIR) + $(CP_DIR) "$(INSTALL_DIR)/etc" $(TMP_DIST_DIR) + $(CP_DIR) "$(INSTALL_DIR)/info" $(TMP_DIST_DIR) + $(CP_DIR) "$(INSTALL_DIR)/lisp" $(TMP_DIST_DIR) + $(CP_DIR) "$(INSTALL_DIR)/leim" $(TMP_DIST_DIR) + $(CP_DIR) "$(INSTALL_DIR)/site-lisp" $(TMP_DIST_DIR) $(CP_DIR) $(DIST_FILES) $(TMP_DIST_DIR)/bin $(COMSPEC)$(ComSpec) /c $(ARGQUOTE)zipdist.bat $(VERSION)$(ARGQUOTE) $(DEL_TREE) $(TMP_DIST_DIR) diff --git a/nt/zipdist.bat b/nt/zipdist.bat index 2ab74a498bf..af90f6173b9 100644 --- a/nt/zipdist.bat +++ b/nt/zipdist.bat @@ -42,7 +42,7 @@ rem Build and verify full distribution 7z a -bd -tZIP -mx=9 -x!.bzrignore -x!.gitignore -xr!emacs.mdp -xr!*.pdb -xr!*.opt -xr!*~ -xr!CVS -xr!.arch-inventory emacs-%EMACS_VER%-bin-i386.zip %TMP_DIST_DIR% 7z t emacs-%EMACS_VER%-bin-i386.zip rem Build and verify binary only distribution -7z a -bd -tZIP -mx=9 emacs-%EMACS_VER%-barebin-i386.zip %TMP_DIST_DIR%/README.W32 %TMP_DIST_DIR%/bin %TMP_DIST_DIR%/etc/DOC-X %TMP_DIST_DIR%/COPYING +7z a -bd -tZIP -mx=9 -x!.bzrignore -x!.gitignore -xr!emacs.mdp -xr!*.pdb -xr!*.opt -xr!*~ -xr!CVS -xr!.arch-inventory emacs-%EMACS_VER%-barebin-i386.zip %TMP_DIST_DIR%/README.W32 %TMP_DIST_DIR%/bin %TMP_DIST_DIR%/etc/DOC-X %TMP_DIST_DIR%/COPYING 7z t emacs-%EMACS_VER%-barebin-i386.zip goto EXIT -- 2.39.2