emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r117427: lisp/Makefile tiny simplification


From: Glenn Morris
Subject: [Emacs-diffs] trunk r117427: lisp/Makefile tiny simplification
Date: Sat, 28 Jun 2014 01:16:26 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 117427
revision-id: address@hidden
parent: address@hidden
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Fri 2014-06-27 21:16:23 -0400
message:
  lisp/Makefile tiny simplification
  
  * lisp/Makefile.in (compile-main, compile, compile-always):
  No need to explicitly pass variables to ourself in recursive calls.
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/Makefile.in               
makefile.in-20091113204419-o5vbwnq5f7feedwu-1831
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2014-06-28 01:10:27 +0000
+++ b/lisp/ChangeLog    2014-06-28 01:16:23 +0000
@@ -1,3 +1,8 @@
+2014-06-28  Glenn Morris  <address@hidden>
+
+       * Makefile.in (compile-main, compile, compile-always):
+       No need to explicitly pass variables to ourself in recursive calls.
+
 2014-06-28  Stefan Monnier  <address@hidden>
 
        * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.

=== modified file 'lisp/Makefile.in'
--- a/lisp/Makefile.in  2014-06-26 21:51:25 +0000
+++ b/lisp/Makefile.in  2014-06-28 01:16:23 +0000
@@ -308,7 +308,7 @@
 compile-first: $(COMPILE_FIRST)
 
 # In `compile-main' we could directly do
-#    ... | xargs $(MAKE) EMACS="$(EMACS)"
+#    ... | xargs $(MAKE)
 # and it works, but it generates a lot of messages like
 #    make[2]: gnus/gnus-mlspl.elc is up to date.
 # so instead, we use "xargs echo" to split the list of file into manageable
@@ -332,7 +332,7 @@
          echo "$${el}c"; \
        done | xargs $(XARGS_LIMIT) echo) | \
        while read chunk; do \
-         $(MAKE) compile-targets EMACS="$(EMACS)" TARGETS="$$chunk"; \
+         $(MAKE) compile-targets TARGETS="$$chunk"; \
        done
 
 .PHONY: compile-clean
@@ -363,17 +363,15 @@
 # date.  Some .el files don't get compiled because they set the
 # local variable no-byte-compile.
 # Calling make recursively because suffix rule cannot have prerequisites.
-# Explicitly pass EMACS (sometimes ../src/bootstrap-emacs) to those
-# sub-makes that run rules that use it, for the sake of some non-GNU makes.
 compile: $(LOADDEFS) autoloads compile-first
-       $(MAKE) compile-main EMACS="$(EMACS)"
+       $(MAKE) compile-main
 
 # Compile all Lisp files.  This is like `compile' but compiles files
 # unconditionally.  Some files don't actually get compiled because they
 # set the local variable no-byte-compile.
 compile-always: doit
        cd $(lisp) && rm -f *.elc */*.elc */*/*.elc */*/*/*.elc
-       $(MAKE) compile EMACS="$(EMACS)"
+       $(MAKE) compile
 
 .PHONY: backup-compiled-files compile-after-backup
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]