diff options
| author | Geoff Voelker | 1996-03-28 04:39:51 +0000 |
|---|---|---|
| committer | Geoff Voelker | 1996-03-28 04:39:51 +0000 |
| commit | 2e17c871e3359380613cbe82ec7cf51a040b6865 (patch) | |
| tree | eda83d50142a4cc3360c3547ee7cd245c289d3f8 | |
| parent | 1afb7be2926786b437e11d45c0301f909ba07f37 (diff) | |
| download | emacs-2e17c871e3359380613cbe82ec7cf51a040b6865.tar.gz emacs-2e17c871e3359380613cbe82ec7cf51a040b6865.zip | |
Change uses of del to $(DEL).
| -rw-r--r-- | lib-src/makefile.nt | 7 | ||||
| -rw-r--r-- | lisp/makefile.nt | 8 | ||||
| -rw-r--r-- | nt/makefile.nt | 31 | ||||
| -rw-r--r-- | src/makefile.nt | 6 |
4 files changed, 25 insertions, 27 deletions
diff --git a/lib-src/makefile.nt b/lib-src/makefile.nt index 5e926d6401d..5aa73e50f0f 100644 --- a/lib-src/makefile.nt +++ b/lib-src/makefile.nt | |||
| @@ -92,7 +92,7 @@ $(BLD)\ctags.exe: ctags.c $(CTAGSOBJ) | |||
| 92 | $(LINK) -out:$@ $(LINK_FLAGS) $(CTAGSOBJ) $(LIBS) | 92 | $(LINK) -out:$@ $(LINK_FLAGS) $(CTAGSOBJ) $(LIBS) |
| 93 | 93 | ||
| 94 | ctags.c: etags.c | 94 | ctags.c: etags.c |
| 95 | - del ctags.c | 95 | - $(DEL) ctags.c |
| 96 | copy etags.c ctags.c | 96 | copy etags.c ctags.c |
| 97 | 97 | ||
| 98 | $(BLD)\ctags.obj: ctags.c | 98 | $(BLD)\ctags.obj: ctags.c |
| @@ -164,7 +164,7 @@ lisp= \ | |||
| 164 | 164 | ||
| 165 | DOC = DOC | 165 | DOC = DOC |
| 166 | $(DOC): $(BLD)\make-docfile.exe | 166 | $(DOC): $(BLD)\make-docfile.exe |
| 167 | - del $(DOC) | 167 | - $(DEL) $(DOC) |
| 168 | $(BLD)\make-docfile -d ..\src $(obj) > $(DOC) | 168 | $(BLD)\make-docfile -d ..\src $(obj) > $(DOC) |
| 169 | $(BLD)\make-docfile -d ..\src $(lisp) >> $(DOC) | 169 | $(BLD)\make-docfile -d ..\src $(lisp) >> $(DOC) |
| 170 | $(CP) $(DOC) ..\etc\DOC-X | 170 | $(CP) $(DOC) ..\etc\DOC-X |
| @@ -199,10 +199,9 @@ install: $(INSTALL_FILES) | |||
| 199 | # | 199 | # |
| 200 | # Maintenance | 200 | # Maintenance |
| 201 | # | 201 | # |
| 202 | clean:; - del *~ *.pdb | 202 | clean:; - $(DEL) *~ *.pdb DOC* |
| 203 | - $(DEL_TREE) deleted | 203 | - $(DEL_TREE) deleted |
| 204 | - $(DEL_TREE) obj | 204 | - $(DEL_TREE) obj |
| 205 | - del DOC* | ||
| 206 | 205 | ||
| 207 | # | 206 | # |
| 208 | # Headers we would preprocess if we could. | 207 | # Headers we would preprocess if we could. |
diff --git a/lisp/makefile.nt b/lisp/makefile.nt index 51e27bdb1ea..a8a7f2a9e7a 100644 --- a/lisp/makefile.nt +++ b/lisp/makefile.nt | |||
| @@ -27,15 +27,15 @@ all: | |||
| 27 | # Assuming INSTALL_DIR is defined, copy the elisp files to it | 27 | # Assuming INSTALL_DIR is defined, copy the elisp files to it |
| 28 | # | 28 | # |
| 29 | install:; - mkdir $(INSTALL_DIR)\lisp | 29 | install:; - mkdir $(INSTALL_DIR)\lisp |
| 30 | - del .\same-dir.tst | 30 | - $(DEL) .\same-dir.tst |
| 31 | - del $(INSTALL_DIR)\lisp\same-dir.tst | 31 | - $(DEL) $(INSTALL_DIR)\lisp\same-dir.tst |
| 32 | echo SameDirTest > $(INSTALL_DIR)\lisp\same-dir.tst | 32 | echo SameDirTest > $(INSTALL_DIR)\lisp\same-dir.tst |
| 33 | if not exist .\same-dir.tst $(CP_DIR) . $(INSTALL_DIR)\lisp | 33 | if not exist .\same-dir.tst $(CP_DIR) . $(INSTALL_DIR)\lisp |
| 34 | - del $(INSTALL_DIR)\lisp\same-dir.tst | 34 | - $(DEL) $(INSTALL_DIR)\lisp\same-dir.tst |
| 35 | 35 | ||
| 36 | 36 | ||
| 37 | # | 37 | # |
| 38 | # Maintenance | 38 | # Maintenance |
| 39 | # | 39 | # |
| 40 | clean:; - del *~ | 40 | clean:; - $(DEL) *~ |
| 41 | - $(DEL_TREE) deleted | 41 | - $(DEL_TREE) deleted |
diff --git a/nt/makefile.nt b/nt/makefile.nt index a540238820a..42567d61ce4 100644 --- a/nt/makefile.nt +++ b/nt/makefile.nt | |||
| @@ -72,12 +72,12 @@ install: all emacs.bat | |||
| 72 | cd ..\nt | 72 | cd ..\nt |
| 73 | - $(CP) emacs.bat $(INSTALL_DIR)\bin | 73 | - $(CP) emacs.bat $(INSTALL_DIR)\bin |
| 74 | - $(ADDPM) $(INSTALL_DIR) | 74 | - $(ADDPM) $(INSTALL_DIR) |
| 75 | - del ..\same-dir.tst | 75 | - $(DEL) ..\same-dir.tst |
| 76 | - del $(INSTALL_DIR)\same-dir.tst | 76 | - $(DEL) $(INSTALL_DIR)\same-dir.tst |
| 77 | echo SameDirTest > $(INSTALL_DIR)\same-dir.tst | 77 | echo SameDirTest > $(INSTALL_DIR)\same-dir.tst |
| 78 | if not exist ..\same-dir.tst $(MAKE) -f makefile.nt real_install | 78 | if not exist ..\same-dir.tst $(MAKE) -f makefile.nt real_install |
| 79 | - del ..\same-dir.tst | 79 | - $(DEL) ..\same-dir.tst |
| 80 | - del $(INSTALL_DIR)\same-dir.tst | 80 | - $(DEL) $(INSTALL_DIR)\same-dir.tst |
| 81 | 81 | ||
| 82 | # | 82 | # |
| 83 | # This installs executables from ..\bin into the installation directory | 83 | # This installs executables from ..\bin into the installation directory |
| @@ -88,19 +88,19 @@ fast_install: | |||
| 88 | $(CP) ..\lib-src\DOC $(INSTALL_DIR)\etc | 88 | $(CP) ..\lib-src\DOC $(INSTALL_DIR)\etc |
| 89 | - mkdir $(INSTALL_DIR)\bin | 89 | - mkdir $(INSTALL_DIR)\bin |
| 90 | - $(CP) emacs.bat $(INSTALL_DIR)\bin | 90 | - $(CP) emacs.bat $(INSTALL_DIR)\bin |
| 91 | - del ..\same-dir.tst | 91 | - $(DEL) ..\same-dir.tst |
| 92 | - del $(INSTALL_DIR)\same-dir.tst | 92 | - $(DEL) $(INSTALL_DIR)\same-dir.tst |
| 93 | echo SameDirTest > $(INSTALL_DIR)\same-dir.tst | 93 | echo SameDirTest > $(INSTALL_DIR)\same-dir.tst |
| 94 | if not exist ..\same-dir.tst $(CP) ..\bin\emacs.exe $(INSTALL_DIR)\bin | 94 | if not exist ..\same-dir.tst $(CP) ..\bin\emacs.exe $(INSTALL_DIR)\bin |
| 95 | if not exist ..\same-dir.tst $(CP) ..\bin\etags.exe $(INSTALL_DIR)\bin | 95 | if not exist ..\same-dir.tst $(CP) ..\bin\etags.exe $(INSTALL_DIR)\bin |
| 96 | if not exist ..\same-dir.tst $(CP) ..\bin\ctags.exe $(INSTALL_DIR)\bin | 96 | if not exist ..\same-dir.tst $(CP) ..\bin\ctags.exe $(INSTALL_DIR)\bin |
| 97 | if not exist ..\same-dir.tst nmake -f $(MAKE) real_install | 97 | if not exist ..\same-dir.tst nmake -f $(MAKE) real_install |
| 98 | - del ..\same-dir.tst | 98 | - $(DEL) ..\same-dir.tst |
| 99 | - del $(INSTALL_DIR)\same-dir.tst | 99 | - $(DEL) $(INSTALL_DIR)\same-dir.tst |
| 100 | 100 | ||
| 101 | real_install: | 101 | real_install: |
| 102 | - del ..\same-dir.tst | 102 | - $(DEL) ..\same-dir.tst |
| 103 | - del $(INSTALL_DIR)\same-dir.tst | 103 | - $(DEL) $(INSTALL_DIR)\same-dir.tst |
| 104 | echo SameDirTest > $(INSTALL_DIR)\same-dir.tst | 104 | echo SameDirTest > $(INSTALL_DIR)\same-dir.tst |
| 105 | - mkdir $(INSTALL_DIR)\etc | 105 | - mkdir $(INSTALL_DIR)\etc |
| 106 | - mkdir $(INSTALL_DIR)\info | 106 | - mkdir $(INSTALL_DIR)\info |
| @@ -108,20 +108,19 @@ real_install: | |||
| 108 | - mkdir $(INSTALL_DIR)\data | 108 | - mkdir $(INSTALL_DIR)\data |
| 109 | if not exist ..\same-dir.tst $(CP_DIR) ..\etc $(INSTALL_DIR)\etc | 109 | if not exist ..\same-dir.tst $(CP_DIR) ..\etc $(INSTALL_DIR)\etc |
| 110 | if not exist ..\same-dir.tst $(CP_DIR) ..\info $(INSTALL_DIR)\info | 110 | if not exist ..\same-dir.tst $(CP_DIR) ..\info $(INSTALL_DIR)\info |
| 111 | - del ..\same-dir.tst | 111 | - $(DEL) ..\same-dir.tst |
| 112 | - del $(INSTALL_DIR)\same-dir.tst | 112 | - $(DEL) $(INSTALL_DIR)\same-dir.tst |
| 113 | 113 | ||
| 114 | # | 114 | # |
| 115 | # Maintenance | 115 | # Maintenance |
| 116 | # | 116 | # |
| 117 | CLEAN_CMD = $(MAKE) -f makefile.nt clean | 117 | CLEAN_CMD = $(MAKE) -f makefile.nt clean |
| 118 | clean:; - del /s *~ *.pdb | 118 | clean:; - $(DEL) *~ *.pdb |
| 119 | - $(DEL_TREE) deleted | 119 | - $(DEL_TREE) deleted |
| 120 | - $(DEL_TREE) obj | 120 | - $(DEL_TREE) obj |
| 121 | - $(DEL_TREE) ..\bin | 121 | - $(DEL_TREE) ..\bin |
| 122 | - del ..\etc\DOC | 122 | - $(DEL) ..\etc\DOC ..\etc\DOC-X |
| 123 | - del ..\etc\DOC-X | 123 | - $(DEL) emacs.bat |
| 124 | - del emacs.bat | ||
| 125 | cd ..\lib-src | 124 | cd ..\lib-src |
| 126 | $(CLEAN_CMD) | 125 | $(CLEAN_CMD) |
| 127 | cd ..\src | 126 | cd ..\src |
diff --git a/src/makefile.nt b/src/makefile.nt index 621d23818e1..b4fe21fb139 100644 --- a/src/makefile.nt +++ b/src/makefile.nt | |||
| @@ -163,7 +163,7 @@ paths.h: ..\nt\paths.h | |||
| 163 | # | 163 | # |
| 164 | DOC = obj\etc\DOC-X | 164 | DOC = obj\etc\DOC-X |
| 165 | $(DOC):; cd ..\lib-src | 165 | $(DOC):; cd ..\lib-src |
| 166 | - del DOC-X | 166 | - $(DEL) DOC-X |
| 167 | $(MAKE) -f makefile.nt all | 167 | $(MAKE) -f makefile.nt all |
| 168 | cd ..\src | 168 | cd ..\src |
| 169 | 169 | ||
| @@ -230,7 +230,7 @@ install: all | |||
| 230 | # | 230 | # |
| 231 | # Maintenance | 231 | # Maintenance |
| 232 | # | 232 | # |
| 233 | clean:; - del *~ *.pdb config.h paths.h | 233 | clean:; - $(DEL) *~ *.pdb config.h paths.h |
| 234 | - $(DEL_TREE) deleted | 234 | - $(DEL_TREE) deleted |
| 235 | - $(DEL_TREE) obj | 235 | - $(DEL_TREE) obj |
| 236 | 236 | ||
| @@ -239,7 +239,7 @@ clean:; - del *~ *.pdb config.h paths.h | |||
| 239 | # this target is mostly used for debugging. | 239 | # this target is mostly used for debugging. |
| 240 | # | 240 | # |
| 241 | cleandump:; cd $(BLD) | 241 | cleandump:; cd $(BLD) |
| 242 | - 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 | 242 | - $(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 |
| 243 | cd ..\.. | 243 | cd ..\.. |
| 244 | 244 | ||
| 245 | 245 | ||