]> git.eshelyaron.com Git - emacs.git/commitdiff
(install): Copy elisp files that are not compiled.
authorGeoff Voelker <voelker@cs.washington.edu>
Fri, 17 Apr 1998 05:03:25 +0000 (05:03 +0000)
committerGeoff Voelker <voelker@cs.washington.edu>
Fri, 17 Apr 1998 05:03:25 +0000 (05:03 +0000)
(clean): Delete patch scratch files in all subdirectories.

lisp/makefile.nt

index 67699fecf3fc5c9c7b47955b20453871da488279..6ab6003fa87a84a8e14aff4d1a79bc5b4533cf4b 100644 (file)
 
 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