comparison 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
comparison
equal deleted inserted replaced
1000:260c3ca9785e 1001:cba22ad5bbfd
54 # Define the 'del' command to use 54 # Define the 'del' command to use
55 # WinME's DEL command can only handle one argument and only has the /P flag. 55 # WinME's DEL command can only handle one argument and only has the /P flag.
56 # So only delete one glob at a time. Override flags in config.inc. 56 # So only delete one glob at a time. Override flags in config.inc.
57 DEL=del 57 DEL=del
58 58
59 # Define the 'copy' command to use 59 # Tell COPY, MOVE, and XCOPY to suppress confirmation for overwriting
60 # Suppress confirmation for overwriting files 60 # files.
61 # set COPYCMD=/y
62 # Define the 'copy' command to use.
61 # Use /r (instead of /y), which exists on Windows NT 4 and 5. 63 # Use /r (instead of /y), which exists on Windows NT 4 and 5.
62 COPY=xcopy /q /y 64 COPY=xcopy /q /r
63 COPYDIR=xcopy /q /y /e 65 COPYDIR=xcopy /q /r /e
64 66
65 # Program name and version 67 # Program name and version
66 68
67 !include "$(XEMACS)\version.sh" 69 !include "$(XEMACS)\version.sh"
68 70
568 # #### PROMPTS you to see if you meant the second as a directory! and 570 # #### PROMPTS you to see if you meant the second as a directory! and
569 # #### no switch to mean "no of course, you idiots, it's a file!" 571 # #### no switch to mean "no of course, you idiots, it's a file!"
570 @copy $(SRC)\config.h.in $(SRC)\config.h 572 @copy $(SRC)\config.h.in $(SRC)\config.h
571 573
572 $(SRC)\Emacs.ad.h: Emacs.ad.h 574 $(SRC)\Emacs.ad.h: Emacs.ad.h
575 set COPYCMD=/y
573 @$(COPY) Emacs.ad.h $(SRC) 576 @$(COPY) Emacs.ad.h $(SRC)
574 577
575 $(SRC)\paths.h: paths.h 578 $(SRC)\paths.h: paths.h
579 set COPYCMD=/y
576 @$(COPY) paths.h $(SRC) 580 @$(COPY) paths.h $(SRC)
577 581
578 #------------------------------------------------------------------------------ 582 #------------------------------------------------------------------------------
579 583
580 # lib-src programs 584 # lib-src programs
1332 temacs: $(LASTFILE) $(TEMACS) 1336 temacs: $(LASTFILE) $(TEMACS)
1333 1337
1334 # use this rule to install the system 1338 # use this rule to install the system
1335 install: all 1339 install: all
1336 cd $(NT) 1340 cd $(NT)
1341 set COPYCMD=/y
1337 @echo Installing in $(INSTALL_DIR) ... 1342 @echo Installing in $(INSTALL_DIR) ...
1338 @echo PlaceHolder > PlaceHolder 1343 @echo PlaceHolder > PlaceHolder
1339 @$(COPY) PROBLEMS "$(INSTALL_DIR)\" 1344 @$(COPY) PROBLEMS "$(INSTALL_DIR)\"
1340 @$(COPY) PlaceHolder "$(INSTALL_DIR)\lock\" 1345 @$(COPY) PlaceHolder "$(INSTALL_DIR)\lock\"
1341 -$(DEL) "$(INSTALL_DIR)\lock\PlaceHolder" 1346 -$(DEL) "$(INSTALL_DIR)\lock\PlaceHolder"
1445 @type >> $(XEMACS)\Installation << 1450 @type >> $(XEMACS)\Installation <<
1446 !if defined(OS) 1451 !if defined(OS)
1447 OS: $(OS) 1452 OS: $(OS)
1448 !endif 1453 !endif
1449 1454
1450 XEmacs $(XEMACS_VERSION_STRING) $(xemacs_codename:"=\") configured for `$(EMACS_CONFIGURATION)'. 1455 XEmacs $(XEMACS_VERSION_STRING) $(xemacs_codename:"=\") $(xemacs_extra_name:"=\") configured for `$(EMACS_CONFIGURATION)'.
1451 1456
1452 Building XEmacs using \"$(MAKE:\=\\)\". 1457 Building XEmacs using \"$(MAKE:\=\\)\".
1453 Building XEmacs using make flags \"$(MAKEFLAGS)\". 1458 Building XEmacs using make flags \"$(MAKEFLAGS)\".
1454 Building XEmacs in \"$(MAKEDIR:\=\\)\". 1459 Building XEmacs in \"$(MAKEDIR:\=\\)\".
1455 !if defined(CCV) 1460 !if defined(CCV)