Commit e0d6af9c authored by Christoph Scholtes's avatar Christoph Scholtes
Browse files

Code cleanup. Added ChangeLog entry.

parent 4ad28e27
2010-07-24 Christoph Scholtes <cschol2112@gmail.com>
* 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 <cschol2112@gmail.com>
New make target for Windows platform: make dist (bug#6602)
......
......@@ -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)
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment