From: Geoff Voelker Date: Fri, 17 Apr 1998 05:03:25 +0000 (+0000) Subject: (install): Copy elisp files that are not compiled. X-Git-Tag: emacs-20.3~1479 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5edd6aeeb5c7d49a910e4dc2e40426e3c98a172b;p=emacs.git (install): Copy elisp files that are not compiled. (clean): Delete patch scratch files in all subdirectories. --- diff --git a/lisp/makefile.nt b/lisp/makefile.nt index 67699fecf3f..6ab6003fa87 100644 --- a/lisp/makefile.nt +++ b/lisp/makefile.nt @@ -24,6 +24,11 @@ all: +topdontcompile = cus-load.el forms-d2.el forms-pass.el patcomp.el \ + subdirs.el version.el +maildontcompile = mail\blessmail.el mail\sc.el +playdontcompile = play\bruce.el + # # Assuming INSTALL_DIR is defined, copy the elisp files to it # @@ -31,12 +36,29 @@ install:; - mkdir $(INSTALL_DIR)\lisp - $(DEL) .\same-dir.tst - $(DEL) $(INSTALL_DIR)\lisp\same-dir.tst echo SameDirTest > $(INSTALL_DIR)\lisp\same-dir.tst +!ifdef COPY_LISP_SOURCE if not exist .\same-dir.tst $(CP_DIR) . $(INSTALL_DIR)\lisp +!else + if not exist .\same-dir.tst $(CP_DIR) *.elc $(INSTALL_DIR)\lisp + if not exist .\same-dir.tst for %%f in ( $(topdontcompile) ) do $(CP) %%f $(INSTALL_DIR)\lisp + if not exist .\same-dir.tst for %%f in ( $(maildontcompile) ) do $(CP) %%f $(INSTALL_DIR)\lisp\mail + if not exist .\same-dir.tst for %%f in ( $(playdontcompile) ) do $(CP) %%f $(INSTALL_DIR)\lisp\play +!endif - $(DEL) $(INSTALL_DIR)\lisp\same-dir.tst - # # Maintenance # -clean:; - $(DEL) *~ +clean:; - $(DEL) *~ term\*~ + - $(DEL) *.orig *.rej *.crlf + - $(DEL) emacs-lisp\*.orig emacs-lisp\*.rej emacs-lisp\*.crlf + - $(DEL) emulation\*.orig emulation\*.rej emulation\*.crlf + - $(DEL) gnus\*.orig gnus\*.rej gnus\*.crlf + - $(DEL) international\*.orig international\*.rej international\*.crlf + - $(DEL) language\*.orig language\*.rej language\*.crlf + - $(DEL) mail\*.orig mail\*.rej mail\*.crlf + - $(DEL) play\*.orig play\*.rej play\*.crlf + - $(DEL) progmodes\*.orig progmodes\*.rej progmodes\*.crlf + - $(DEL) term\*.orig term\*.rej term\*.crlf + - $(DEL) textmodes\*.orig textmodes\*.rej textmodes\*.crlf - $(DEL_TREE) deleted