mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(install): Copy elisp files that are not compiled.
(clean): Delete patch scratch files in all subdirectories.
This commit is contained in:
parent
5568885b9c
commit
5edd6aeeb5
1 changed files with 24 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue