summaryrefslogtreecommitdiff
path: root/nt/makefile.w32-in
diff options
context:
space:
mode:
authorChristoph Scholtes <cschol2112@gmail.com>2010-07-24 15:35:36 -0600
committerChristoph Scholtes <cschol2112@gmail.com>2010-07-24 15:35:36 -0600
commit4ad28e2787389c20cefaa9817996650430c6f119 (patch)
tree25d30b839aedcde1d9b05fec6cd258e1ce62fbbf /nt/makefile.w32-in
parent2294431987b96681c129d0865053ed1f73e533ba (diff)
downloademacs-4ad28e2787389c20cefaa9817996650430c6f119.tar.gz
Refactoring of make dist target
Diffstat (limited to 'nt/makefile.w32-in')
-rw-r--r--nt/makefile.w32-in23
1 files changed, 19 insertions, 4 deletions
diff --git a/nt/makefile.w32-in b/nt/makefile.w32-in
index 47f9b901075..f8e3390873c 100644
--- a/nt/makefile.w32-in
+++ b/nt/makefile.w32-in
@@ -25,6 +25,8 @@
VERSION = 24.0.50
+TMP_DIST_DIR = emacs-$(VERSION)
+
TRES = $(BLD)/emacs.res
CLIENTRES = $(BLD)/emacsclient.res
@@ -208,6 +210,7 @@ install-bin: all $(INSTALL_DIR)/bin install-other-dirs-$(MAKETYPE)
- $(CP) $(BLD)/ddeclient.exe $(INSTALL_DIR)/bin
- $(CP) $(BLD)/cmdproxy.exe $(INSTALL_DIR)/bin
- $(CP) $(BLD)/runemacs.exe $(INSTALL_DIR)/bin
+ - $(CP) README.W32 $(INSTALL_DIR)
- $(DEL) ../same-dir.tst
- $(DEL) $(INSTALL_DIR)/same-dir.tst
echo SameDirTest > "$(INSTALL_DIR)/same-dir.tst"
@@ -246,10 +249,22 @@ install-other-dirs-gmake:
install-shortcuts:
"$(INSTALL_DIR)/bin/addpm" -q
-dist: install-bin
- $(CP) $(DIST_FILES) $(INSTALL_DIR)/bin
- $(CP) README.W32 $(INSTALL_DIR)
- $(COMSPEC)$(ComSpec) /c $(ARGQUOTE)zipdist.bat $(INSTALL_DIR) $(VERSION)$(ARGQUOTE)
+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_DIR) $(DIST_FILES) $(TMP_DIST_DIR)/bin
+ $(COMSPEC)$(ComSpec) /c $(ARGQUOTE)zipdist.bat $(VERSION)$(ARGQUOTE)
+ $(DEL_TREE) $(TMP_DIST_DIR)
force-info:
# Note that doc/emacs/makefile knows how to