emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] trunk r114855: lisp/Makefile.in trivia


From: Glenn Morris
Subject: [Emacs-diffs] trunk r114855: lisp/Makefile.in trivia
Date: Wed, 30 Oct 2013 06:21:51 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 114855
revision-id: address@hidden
parent: address@hidden
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Tue 2013-10-29 23:21:46 -0700
message:
  lisp/Makefile.in trivia
  
  * lisp/Makefile.in (finder-data, autoloads, update-subdirs)
  (compile-main, compile-clean, compile-always, bootstrap-clean):
  Check return value of cd.
  (compile-calc): Remove.
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/Makefile.in               
makefile.in-20091113204419-o5vbwnq5f7feedwu-1831
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2013-10-30 02:45:53 +0000
+++ b/lisp/ChangeLog    2013-10-30 06:21:46 +0000
@@ -1,3 +1,10 @@
+2013-10-30  Glenn Morris  <address@hidden>
+
+       * Makefile.in (finder-data, autoloads, update-subdirs)
+       (compile-main, compile-clean, compile-always, bootstrap-clean):
+       Check return value of cd.
+       (compile-calc): Remove.
+
 2013-10-30  Stefan Monnier  <address@hidden>
 
        * simple.el (copy-region-as-kill): Fix call to region-extract-function.

=== modified file 'lisp/Makefile.in'
--- a/lisp/Makefile.in  2013-10-24 17:18:46 +0000
+++ b/lisp/Makefile.in  2013-10-30 06:21:46 +0000
@@ -165,21 +165,21 @@
 $(lisp)/cus-load.el:
        $(MAKE) $(MFLAGS) custom-deps
 custom-deps: doit
-       cd $(lisp); $(setwins_almost); \
+       cd $(lisp) && $(setwins_almost); \
        echo Directories: $$wins; \
        $(emacs) -l cus-dep --eval '(setq generated-custom-dependencies-file 
(unmsys--file-name "$(abs_lisp)/cus-load.el"))' -f custom-make-dependencies 
$$wins
 
 $(lisp)/finder-inf.el:
        $(MAKE) $(MFLAGS) finder-data
 finder-data: doit
-       cd $(lisp); $(setwins_almost); \
+       cd $(lisp) && $(setwins_almost); \
        echo Directories: $$wins; \
        $(emacs) -l finder --eval '(setq generated-finder-keywords-file 
(unmsys--file-name "$(abs_lisp)/finder-inf.el"))' -f 
finder-compile-keywords-make-dist $$wins
 
 # The chmod +w is to handle env var CVSREAD=1.
 autoloads: $(LOADDEFS) doit
        cd $(lisp) && chmod +w $(AUTOGEN_VCS)
-       cd $(lisp); $(setwins_almost); \
+       cd $(lisp) && $(setwins_almost); \
        echo Directories: $$wins; \
        $(emacs) -l autoload \
            --eval '(setq autoload-builtin-package-versions t)' \
@@ -191,7 +191,7 @@
 $(lisp)/subdirs.el:
        $(MAKE) $(MFLAGS) update-subdirs
 update-subdirs: doit
-       cd $(lisp); $(setwins_for_subdirs); \
+       cd $(lisp) && $(setwins_for_subdirs); \
        for file in $$wins; do \
           ../build-aux/update-subdirs $$file; \
        done;
@@ -279,7 +279,7 @@
 # Compile all the Elisp files that need it.  Beware: it approximates
 # `no-byte-compile', so watch out for false-positives!
 compile-main: compile-clean
-       @(cd $(lisp); $(setwins); \
+       @(cd $(lisp) && $(setwins); \
        els=`echo "$$wins " | sed -e 's|/\./|/|g' -e 's|/\. | |g' -e 's| |/*.el 
|g'`; \
        for el in $$els; do \
          test -f $$el || continue; \
@@ -293,7 +293,7 @@
 .PHONY: compile-clean
 # Erase left-over .elc files that do not have a corresponding .el file.
 compile-clean:
-       @cd $(lisp); $(setwins); \
+       @cd $(lisp) && $(setwins); \
        elcs=`echo "$$wins " | sed -e 's|/\./|/|g' -e 's|/\. | |g' -e 's| 
|/*.elc |g'`; \
        for el in `echo $$elcs | sed -e 's/\.elc/\.el/g'`; do \
          if test -f "$$el" -o \! -f "$${el}c"; then :; else \
@@ -315,16 +315,10 @@
 # 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
+       cd $(lisp) && rm -f *.elc */*.elc */*/*.elc */*/*/*.elc
        $(MAKE) $(MFLAGS) compile EMACS="$(EMACS)"
 
-.PHONY: compile-calc backup-compiled-files compile-after-backup
-
-compile-calc:
-       for el in $(lisp)/calc/*.el; do \
-         echo Compiling $$el; \
-         $(emacs) $(BYTE_COMPILE_FLAGS) -f batch-byte-compile $$el || exit 1;\
-       done
+.PHONY: backup-compiled-files compile-after-backup
 
 # Backup compiled Lisp files in elc.tar.gz.  If that file already
 # exists, make a backup of it.
@@ -441,7 +435,7 @@
 .PHONY: bootstrap-clean distclean maintainer-clean
 
 bootstrap-clean:
-       cd $(lisp); rm -f *.elc */*.elc */*/*.elc */*/*/*.elc $(AUTOGENEL)
+       -cd $(lisp) && rm -f *.elc */*.elc */*/*.elc */*/*/*.elc $(AUTOGENEL)
 
 distclean:
        -rm -f ./Makefile $(lisp)/loaddefs.el~


reply via email to

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