]> code.delx.au - gnu-emacs/commitdiff
Merge from origin/emacs-25
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 23 Mar 2016 18:27:22 +0000 (11:27 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 23 Mar 2016 18:27:22 +0000 (11:27 -0700)
ad250f2 Sync with gnulib
c0165ea Resurrect GNUS-NEWS autogeneration

# Conflicts:
# etc/GNUS-NEWS
# lisp/Makefile.in

1  2 
lisp/Makefile.in

diff --combined lisp/Makefile.in
index 83714d0f5a7c8cdff1d86e2ec875170a63a2e21a,f33dd011eda570176bfa01f1cce0efbafd15855d..12bb9c7a3ceccaf930798f808defb3dc72dd1d9b
@@@ -81,23 -81,23 +81,23 @@@ AUTOGENEL = loaddefs.el 
        cus-load.el \
        finder-inf.el \
        subdirs.el \
 +      ps-print-loaddefs.el \
        emacs-lisp/cl-loaddefs.el \
        calc/calc-loaddefs.el \
        eshell/esh-groups.el \
        cedet/semantic/loaddefs.el \
        cedet/ede/loaddefs.el \
        cedet/srecode/loaddefs.el \
 -      org/org-loaddefs.el
 -
 -# Value of max-lisp-eval-depth when compiling initially.
 -# During bootstrapping the byte-compiler is run interpreted when compiling
 -# itself, and uses more stack than usual.
 -#
 -BIG_STACK_DEPTH = 2200
 -BIG_STACK_OPTS = --eval "(setq max-lisp-eval-depth $(BIG_STACK_DEPTH))"
 +      org/org-loaddefs.el \
 +      textmodes/reftex-loaddefs.el \
 +      mail/rmail-loaddefs.el \
 +      ibuffer-loaddefs.el \
 +      htmlfontify-loaddefs \
 +      emacs-lisp/eieio-loaddefs.el \
 +      dired-loaddefs.el
  
  # Set load-prefer-newer for the benefit of the non-bootstrappers.
 -BYTE_COMPILE_FLAGS = $(BIG_STACK_OPTS) \
 +BYTE_COMPILE_FLAGS = \
    --eval '(setq load-prefer-newer t)' $(BYTE_COMPILE_EXTRA_FLAGS)
  
  # Files to compile before others during a bootstrap.  This is done to
@@@ -185,13 -185,6 +185,13 @@@ $(lisp)/loaddefs.el: $(LOADDEFS
            --eval '(setq generated-autoload-file (expand-file-name (unmsys--file-name "$@")))' \
            -f batch-update-autoloads ${SUBDIRS_ALMOST}
  
 +# autoloads only runs when loaddefs.el is nonexistent, although it
 +# generates a number of different files. Provide a force option to enable
 +# regeneration of all these files.
 +autoloads-force .PHONY:
 +      rm loaddefs.el
 +      $(MAKE) autoloads
 +
  # This is required by the bootstrap-emacs target in ../src/Makefile, so
  # we know that if we have an emacs executable, we also have a subdirs.el.
  $(lisp)/subdirs.el:
@@@ -201,7 -194,7 +201,7 @@@ update-subdirs
           $(srcdir)/../build-aux/update-subdirs $$file; \
        done;
  
- .PHONY: updates repo-update update-authors
+ .PHONY: updates repo-update update-authors update-gnus-news
  
  # Some modes of make-dist use this.
  updates: update-subdirs autoloads finder-data custom-deps
  # this directory's autoloads rule.
  repo-update: compile finder-data custom-deps
  
- # Update the AUTHORS file.
+ # Update etc/AUTHORS and etc/GNUS-NEWS.
  
  update-authors:
        $(emacs) -L "$(top_srcdir)/admin" -l authors \
          -f batch-update-authors "$(top_srcdir)/etc/AUTHORS" "$(top_srcdir)"
  
 -ETAGS = ../lib-src/etags
+ update-gnus-news:
+       $(emacs) -L "$(top_srcdir)/doc/misc" -l gnus-news -f batch-gnus-news \
+         "$(top_srcdir)/doc/misc/gnus-news.texi" \
+         "$(top_srcdir)/etc/GNUS-NEWS"
 +FORCE:
 +.PHONY: FORCE
 +
 +tagsfiles = $(shell find ${srcdir} -name '*.el')
 +tagsfiles := $(filter-out ${srcdir}/%loaddefs.el,${tagsfiles})
 +tagsfiles := $(filter-out ${srcdir}/ldefs-boot.el,${tagsfiles})
 +tagsfiles := $(filter-out ${srcdir}/eshell/esh-groups.el,${tagsfiles})
 +
 +ETAGS = ../lib-src/etags${EXEEXT}
  
 -lisptagsfiles1 = $(srcdir)/*.el
 -lisptagsfiles2 = $(srcdir)/*/*.el
 -lisptagsfiles3 = $(srcdir)/*/*/*.el
 -lisptagsfiles4 = $(srcdir)/*/*/*/*.el
 +${ETAGS}: FORCE
 +      ${MAKE} -C ../lib-src $(notdir $@)
  
 -## The ls | sed | xargs is to stop the command line getting too long
 +## The use of xargs is to stop the command line getting too long
  ## on MS Windows, when the MSYS Bash passes it to a MinGW compiled
  ## etags.  It might be better to use find in a similar way to
  ## compile-main.  But maybe this is not even necessary any more now
  ## that this uses relative filenames.
 -TAGS: $(lisptagsfiles1) $(lisptagsfiles2) $(lisptagsfiles3) $(lisptagsfiles4)
 +TAGS: ${ETAGS} ${tagsfiles}
        rm -f $@
        touch $@
 -      ls $(lisptagsfiles1) $(lisptagsfiles2) \
 -         $(lisptagsfiles3) $(lisptagsfiles4) | \
 -          sed -e '/loaddefs/d; /\/ldefs-boot/d; /esh-groups\.el/d' | \
 -          xargs $(XARGS_LIMIT) "$(ETAGS)" -a -o $@
 +      ls ${tagsfiles} | xargs $(XARGS_LIMIT) "${ETAGS}" -a -o $@
  
  
  # The src/Makefile.in has its own set of dependencies and when they decide
@@@ -404,7 -399,7 +409,7 @@@ $(TRAMP_DIR)/tramp-loaddefs.el: $(TRAMP
  CAL_DIR = $(lisp)/calendar
  ## Those files that may contain internal calendar autoload cookies.
  CAL_SRC = $(addprefix ${CAL_DIR}/,diary-lib.el holidays.el lunar.el solar.el)
 -CAL_SRC := $(sort ${CAL_SRC} $(wildcard ${CAL_DIR}/cal*.el))
 +CAL_SRC := $(sort ${CAL_SRC} $(wildcard ${CAL_DIR}/cal-*.el))
  CAL_SRC := $(filter-out ${CAL_DIR}/cal-loaddefs.el,${CAL_SRC})
  
  $(CAL_DIR)/cal-loaddefs.el: $(CAL_SRC)