changeset 21596:de7ecc11ba03

(install): Copy elisp files that are not compiled. (clean): Delete patch scratch files in all subdirectories.
author Geoff Voelker <voelker@cs.washington.edu>
date Fri, 17 Apr 1998 05:03:25 +0000
parents 31ec89e86c0b
children 409211e285bc
files lisp/makefile.nt
diffstat 1 files changed, 24 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/makefile.nt	Fri Apr 17 05:02:55 1998 +0000
+++ b/lisp/makefile.nt	Fri Apr 17 05:03:25 1998 +0000
@@ -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 @@
 		- $(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