+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)
\r
dist: install-bin\r
mkdir $(TMP_DIST_DIR)\r
- $(CP) $(INSTALL_DIR)/BUGS $(TMP_DIST_DIR)\r
- $(CP) $(INSTALL_DIR)/COPYING $(TMP_DIST_DIR)\r
- $(CP) $(INSTALL_DIR)/README $(TMP_DIST_DIR)\r
- $(CP) $(INSTALL_DIR)/README.W32 $(TMP_DIST_DIR)\r
- $(CP) $(INSTALL_DIR)/INSTALL $(TMP_DIST_DIR)\r
- $(CP_DIR) $(INSTALL_DIR)/bin $(TMP_DIST_DIR)\r
- $(CP_DIR) $(INSTALL_DIR)/etc $(TMP_DIST_DIR)\r
- $(CP_DIR) $(INSTALL_DIR)/info $(TMP_DIST_DIR)\r
- $(CP_DIR) $(INSTALL_DIR)/lisp $(TMP_DIST_DIR)\r
- $(CP_DIR) $(INSTALL_DIR)/leim $(TMP_DIST_DIR)\r
- $(CP_DIR) $(INSTALL_DIR)/site-lisp $(TMP_DIST_DIR)\r
+ $(CP) "$(INSTALL_DIR)/BUGS" $(TMP_DIST_DIR)\r
+ $(CP) "$(INSTALL_DIR)/COPYING" $(TMP_DIST_DIR)\r
+ $(CP) "$(INSTALL_DIR)/README" $(TMP_DIST_DIR)\r
+ $(CP) "$(INSTALL_DIR)/README.W32" $(TMP_DIST_DIR)\r
+ $(CP) "$(INSTALL_DIR)/INSTALL" $(TMP_DIST_DIR)\r
+ $(CP_DIR) "$(INSTALL_DIR)/bin" $(TMP_DIST_DIR)\r
+ $(CP_DIR) "$(INSTALL_DIR)/etc" $(TMP_DIST_DIR)\r
+ $(CP_DIR) "$(INSTALL_DIR)/info" $(TMP_DIST_DIR)\r
+ $(CP_DIR) "$(INSTALL_DIR)/lisp" $(TMP_DIST_DIR)\r
+ $(CP_DIR) "$(INSTALL_DIR)/leim" $(TMP_DIST_DIR)\r
+ $(CP_DIR) "$(INSTALL_DIR)/site-lisp" $(TMP_DIST_DIR)\r
$(CP_DIR) $(DIST_FILES) $(TMP_DIST_DIR)/bin\r
$(COMSPEC)$(ComSpec) /c $(ARGQUOTE)zipdist.bat $(VERSION)$(ARGQUOTE)\r
$(DEL_TREE) $(TMP_DIST_DIR)\r
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%\r
7z t emacs-%EMACS_VER%-bin-i386.zip\r
rem Build and verify binary only distribution\r
-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\r
+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\r
7z t emacs-%EMACS_VER%-barebin-i386.zip\r
goto EXIT\r
\r