changeset 14899:4b7b8a937a5d

Change uses of del to $(DEL).
author Geoff Voelker <voelker@cs.washington.edu>
date Thu, 28 Mar 1996 04:39:51 +0000
parents 467e9d219590
children a51ddd17cdc4
files lib-src/makefile.nt lisp/makefile.nt nt/makefile.nt src/makefile.nt
diffstat 4 files changed, 25 insertions(+), 27 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/makefile.nt	Wed Mar 27 23:32:46 1996 +0000
+++ b/lib-src/makefile.nt	Thu Mar 28 04:39:51 1996 +0000
@@ -92,7 +92,7 @@
 		$(LINK) -out:$@ $(LINK_FLAGS) $(CTAGSOBJ) $(LIBS)
 
 ctags.c:	etags.c
-		- del ctags.c
+		- $(DEL) ctags.c
 		copy etags.c ctags.c
 
 $(BLD)\ctags.obj: ctags.c
@@ -164,7 +164,7 @@
 
 DOC	      = DOC 
 $(DOC):		$(BLD)\make-docfile.exe
-		- del $(DOC)
+		- $(DEL) $(DOC)
 		$(BLD)\make-docfile -d ..\src $(obj) > $(DOC)
 		$(BLD)\make-docfile -d ..\src $(lisp) >> $(DOC)
 		$(CP) $(DOC) ..\etc\DOC-X
@@ -199,10 +199,9 @@
 #
 # Maintenance
 # 
-clean:;		- del *~ *.pdb
+clean:;		- $(DEL) *~ *.pdb DOC*
 		- $(DEL_TREE) deleted
 		- $(DEL_TREE) obj
-		- del DOC*
 
 #
 # Headers we would preprocess if we could.
--- a/lisp/makefile.nt	Wed Mar 27 23:32:46 1996 +0000
+++ b/lisp/makefile.nt	Thu Mar 28 04:39:51 1996 +0000
@@ -27,15 +27,15 @@
 # Assuming INSTALL_DIR is defined, copy the elisp files to it
 #
 install:;	- mkdir $(INSTALL_DIR)\lisp
-		- del .\same-dir.tst
-		- del $(INSTALL_DIR)\lisp\same-dir.tst
+		- $(DEL) .\same-dir.tst
+		- $(DEL) $(INSTALL_DIR)\lisp\same-dir.tst
 		echo SameDirTest > $(INSTALL_DIR)\lisp\same-dir.tst
 		if not exist .\same-dir.tst $(CP_DIR) . $(INSTALL_DIR)\lisp
-		- del $(INSTALL_DIR)\lisp\same-dir.tst
+		- $(DEL) $(INSTALL_DIR)\lisp\same-dir.tst
 		
 
 #
 # Maintenance
 # 
-clean:;		- del *~
+clean:;		- $(DEL) *~
 		- $(DEL_TREE) deleted
--- a/nt/makefile.nt	Wed Mar 27 23:32:46 1996 +0000
+++ b/nt/makefile.nt	Thu Mar 28 04:39:51 1996 +0000
@@ -72,12 +72,12 @@
 		cd ..\nt		
 		- $(CP) emacs.bat $(INSTALL_DIR)\bin
 		- $(ADDPM) $(INSTALL_DIR)
-		- del ..\same-dir.tst
-		- del $(INSTALL_DIR)\same-dir.tst
+		- $(DEL) ..\same-dir.tst
+		- $(DEL) $(INSTALL_DIR)\same-dir.tst
 		echo SameDirTest > $(INSTALL_DIR)\same-dir.tst
 		if not exist ..\same-dir.tst $(MAKE) -f makefile.nt real_install
-		- del ..\same-dir.tst
-		- del $(INSTALL_DIR)\same-dir.tst
+		- $(DEL) ..\same-dir.tst
+		- $(DEL) $(INSTALL_DIR)\same-dir.tst
 
 #
 # This installs executables from ..\bin into the installation directory
@@ -88,19 +88,19 @@
 		$(CP) ..\lib-src\DOC $(INSTALL_DIR)\etc
 		- mkdir $(INSTALL_DIR)\bin
 		- $(CP) emacs.bat $(INSTALL_DIR)\bin
-		- del ..\same-dir.tst
-		- del $(INSTALL_DIR)\same-dir.tst
+		- $(DEL) ..\same-dir.tst
+		- $(DEL) $(INSTALL_DIR)\same-dir.tst
 		echo SameDirTest > $(INSTALL_DIR)\same-dir.tst
 		if not exist ..\same-dir.tst $(CP) ..\bin\emacs.exe $(INSTALL_DIR)\bin
 		if not exist ..\same-dir.tst $(CP) ..\bin\etags.exe $(INSTALL_DIR)\bin
 		if not exist ..\same-dir.tst $(CP) ..\bin\ctags.exe $(INSTALL_DIR)\bin
 		if not exist ..\same-dir.tst nmake -f $(MAKE) real_install
-		- del ..\same-dir.tst
-		- del $(INSTALL_DIR)\same-dir.tst
+		- $(DEL) ..\same-dir.tst
+		- $(DEL) $(INSTALL_DIR)\same-dir.tst
 
 real_install:
-		- del ..\same-dir.tst
-		- del $(INSTALL_DIR)\same-dir.tst
+		- $(DEL) ..\same-dir.tst
+		- $(DEL) $(INSTALL_DIR)\same-dir.tst
 		echo SameDirTest > $(INSTALL_DIR)\same-dir.tst
 		- mkdir $(INSTALL_DIR)\etc
 		- mkdir $(INSTALL_DIR)\info
@@ -108,20 +108,19 @@
 		- mkdir $(INSTALL_DIR)\data
 		if not exist ..\same-dir.tst $(CP_DIR) ..\etc $(INSTALL_DIR)\etc
 		if not exist ..\same-dir.tst $(CP_DIR) ..\info $(INSTALL_DIR)\info
-		- del ..\same-dir.tst
-		- del $(INSTALL_DIR)\same-dir.tst
+		- $(DEL) ..\same-dir.tst
+		- $(DEL) $(INSTALL_DIR)\same-dir.tst
 
 #
 # Maintenance
 # 
 CLEAN_CMD	= $(MAKE) -f makefile.nt clean
-clean:;		- del /s *~ *.pdb
+clean:;		- $(DEL) *~ *.pdb
 		- $(DEL_TREE) deleted
 		- $(DEL_TREE) obj
 		- $(DEL_TREE) ..\bin
-		- del ..\etc\DOC
-		- del ..\etc\DOC-X
-		- del emacs.bat
+		- $(DEL) ..\etc\DOC ..\etc\DOC-X
+		- $(DEL) emacs.bat
 		cd ..\lib-src
 		$(CLEAN_CMD)
 		cd ..\src
--- a/src/makefile.nt	Wed Mar 27 23:32:46 1996 +0000
+++ b/src/makefile.nt	Thu Mar 28 04:39:51 1996 +0000
@@ -163,7 +163,7 @@
 #
 DOC		= obj\etc\DOC-X
 $(DOC):;	cd ..\lib-src 
-		- del DOC-X
+		- $(DEL) DOC-X
 		$(MAKE) -f makefile.nt all
 		cd ..\src
 
@@ -230,7 +230,7 @@
 #
 # Maintenance
 # 
-clean:;         - del *~ *.pdb config.h paths.h
+clean:;         - $(DEL) *~ *.pdb config.h paths.h
 		- $(DEL_TREE) deleted
 		- $(DEL_TREE) obj
 
@@ -239,7 +239,7 @@
 # this target is mostly used for debugging.
 #
 cleandump:;     cd $(BLD)
-		- del callproc.obj data.obj dispnew.obj doc.obj editfns.obj emacs.obj lread.obj process.obj sysdep.obj term.obj ntheap.obj unexnt.obj
+		- $(DEL) callproc.obj data.obj dispnew.obj doc.obj editfns.obj emacs.obj lread.obj process.obj sysdep.obj term.obj ntheap.obj unexnt.obj
 		cd ..\..