$(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
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
#
# Maintenance
#
-clean:; - del *~ *.pdb
+clean:; - $(DEL) *~ *.pdb DOC*
- $(DEL_TREE) deleted
- $(DEL_TREE) obj
- - del DOC*
#
# Headers we would preprocess if we could.
# 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
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
$(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
- 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