diff nt/xemacs.mak @ 1001:cba22ad5bbfd

[xemacs-hg @ 2002-09-13 20:35:10 by adrian] xemacs-21.5: Install to overwrite existing files, support xemacs_extra_name -------------------- ChangeLog entries follow: -------------------- nt/ChangeLog addition: 2002-09-13 Adrian Aichner <adrian@xemacs.org> * xemacs.mak: Suppress confirmation for overwriting files. * xemacs.mak (installation): Add support for xemacs_extra_name.
author adrian
date Fri, 13 Sep 2002 20:35:11 +0000
parents d90decf21e71
children 23dedeadeaad
line wrap: on
line diff
--- a/nt/xemacs.mak	Thu Sep 12 21:54:19 2002 +0000
+++ b/nt/xemacs.mak	Fri Sep 13 20:35:11 2002 +0000
@@ -56,11 +56,13 @@
 # So only delete one glob at a time.  Override flags in config.inc.
 DEL=del
 
-# Define the 'copy' command to use
-# Suppress confirmation for overwriting files
+# Tell COPY, MOVE, and XCOPY to suppress confirmation for overwriting
+# files.
+# set COPYCMD=/y
+# Define the 'copy' command to use.
 # Use /r (instead of /y), which exists on Windows NT 4 and 5.
-COPY=xcopy /q /y
-COPYDIR=xcopy /q /y /e
+COPY=xcopy /q /r
+COPYDIR=xcopy /q /r /e
 
 # Program name and version
 
@@ -570,9 +572,11 @@
 	@copy $(SRC)\config.h.in $(SRC)\config.h
 
 $(SRC)\Emacs.ad.h:	Emacs.ad.h
+	set COPYCMD=/y
 	@$(COPY) Emacs.ad.h $(SRC)
 
 $(SRC)\paths.h:	paths.h
+	set COPYCMD=/y
 	@$(COPY) paths.h $(SRC)
 
 #------------------------------------------------------------------------------
@@ -1334,6 +1338,7 @@
 # use this rule to install the system
 install:	all
 	cd $(NT)
+	set COPYCMD=/y
 	@echo Installing in $(INSTALL_DIR) ...
 	@echo PlaceHolder > PlaceHolder
 	@$(COPY) PROBLEMS "$(INSTALL_DIR)\"
@@ -1447,7 +1452,7 @@
 OS: $(OS)
 !endif
 
-XEmacs $(XEMACS_VERSION_STRING) $(xemacs_codename:"=\") configured for `$(EMACS_CONFIGURATION)'.
+XEmacs $(XEMACS_VERSION_STRING) $(xemacs_codename:"=\") $(xemacs_extra_name:"=\") configured for `$(EMACS_CONFIGURATION)'.
 
   Building XEmacs using \"$(MAKE:\=\\)\".
   Building XEmacs using make flags \"$(MAKEFLAGS)\".