1. 05 Jun, 2015 5 commits
  2. 04 Jun, 2015 1 commit
  3. 23 Feb, 2015 1 commit
    • Paul Eggert's avatar
      Use ${EXEEXT} more uniformly in makefiles · 6b62d265
      Paul Eggert authored
      When porting Emacs to run on NaCl, we need to make sure that we always
      call it with the proper extension (.nexe in this case) during the build.
      * leim/Makefile.in, lib-src/Makefile.in, lisp/Makefile.in (EMACS):
      Append ${EXEEXT}.
      (tiny change)
      6b62d265
  4. 09 Feb, 2015 1 commit
    • Paul Eggert's avatar
      Port to platforms lacking test -a and -o · 5c20aa74
      Paul Eggert authored
      * configure.ac (HAVE_LIBXML2):
      * lisp/Makefile.in (compile-clean):
      * lisp/net/tramp-sh.el (tramp-find-executable):
      Prefer '&&' and '||' to 'test -a' and 'test -o'.
      5c20aa74
  5. 12 Jan, 2015 2 commits
    • Paul Eggert's avatar
      Have 'make' output better GEN names · d703a4dc
      Paul Eggert authored
      * lisp/Makefile.in (PHONY_EXTRAS): New macro.
      (.PHONY): Depend on it, and on $(lisp)/loaddefs.el, so that the
      relevant files' time stamps are ignored.
      (custom-deps, $(lisp)/cus-load.el, finder-data)
      ($(lisp)/finder-inf.el): Use PHONY_EXTRAS.
      (custom-deps, $(lisp)/cus-load.el, finder-data)
      ($(lisp)/finder-inf.el, autoloads, $(lisp)/loaddefs.el)
      ($(lisp)/subdirs.el, update-subdirs):
      Output more-accurate destination names with GEN.
      * src/Makefile.in (gl-stamp, globals.h): Simplify by putting the new
      contents of globals.h into gl-stamp.  This lets us use AM_V_GEN
      more naturally so that 'make' can output more-accurate names.
      d703a4dc
    • Paul Eggert's avatar
      Say "ELC foo.elc" instead of "GEN foo.elc" · c2774f37
      Paul Eggert authored
      * admin/unidata/Makefile.in, lisp/Makefile.in (AM_V_ELC)
      (am__v_ELC_, am__v_ELC_0, am__v_ELC_1): New macros.
      * admin/unidata/Makefile.in (%.elc):
      * lisp/Makefile.in ($(THEFILE)c, .el.elc): Use them.
      c2774f37
  6. 04 Jan, 2015 1 commit
    • Paul Eggert's avatar
      Less 'make' chatter for lisp dir · ccb2d938
      Paul Eggert authored
      * lisp/Makefile.in (THEFILE): Define to be 'no-such-file' by default,
      to make it clearer that the caller must specify it.
      (compile-onefile): Remove, replacing by ...
      ($(THEFILE)c): ... new rule.  This lets us use AM_V_GEN here.
      ($(THEFILE)c, .el.elc, $(MH_E_DIR)/mh-loaddefs.el)
      ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
      ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
      Use AM_V_GEN to lessen 'make' chatter.
      (.el.elc): Omit duplicate comment.
      * src/Makefile.in (%.elc): Adjust to compile-onefile change in
      ../lisp/Makefile.in.
      ccb2d938
  7. 01 Jan, 2015 2 commits
  8. 31 Dec, 2014 2 commits
    • Paul Eggert's avatar
      Less 'make' chatter for doc and lisp · 7e3507cf
      Paul Eggert authored
      [doc/emacs/ChangeLog]
      Less 'make' chatter for Emacs doc
      * Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_GEN, am__v_GEN_)
      (am__v_GEN_0, am__v_GEN_1): New macros, from ../../src/Makefile.in.
      (ENVADD, $(buildinfodir)/emacs.info, emacs.html):
      Use them.
      [doc/lispintro/ChangeLog]
      Less 'make' chatter for Emacs doc
      * Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_GEN, am__v_GEN_)
      (am__v_GEN_0, am__v_GEN_1): New macros, from ../../src/Makefile.in.
      (ENVADD, $(buildinfodir)/eintr.info, emacs-lisp-intro.html):
      Use them.
      [doc/lispref/ChangeLog]
      Less 'make' chatter for Emacs doc
      * Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_GEN, am__v_GEN_)
      (am__v_GEN_0, am__v_GEN_1): New macros, from ../../src/Makefile.in.
      (ENVADD, $(buildinfodir)/elisp.info, elisp.html):
      Use them.
      [doc/misc/ChangeLog]
      Less 'make' chatter for Emacs doc
      * Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_GEN, am__v_GEN_)
      (am__v_GEN_0, am__v_GEN_1): New macros, from ../../src/Makefile.in.
      (ENVADD, $(buildinfodir)/%.info, %.html, ${buildinfodir}/ccmode.info)
      (${buildinfodir}/efaq%.info, efaq%.html):
      Use them.
      [lisp/ChangeLog]
      Less 'make' chatter in lisp directory
      * Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_GEN, am__v_GEN_)
      (am__v_GEN_0, am__v_GEN_1): New macros, from ../src/Makefile.in.
      (custom-deps, finder-data, autoloads, update-subdirs): Use them.
      7e3507cf
    • Paul Eggert's avatar
      * Makefile.in (semantic): Simplify. · 6654a4ce
      Paul Eggert authored
      6654a4ce
  9. 08 Dec, 2014 1 commit
    • Stefan Monnier's avatar
      Various minor details accumulated over time · b76bea4c
      Stefan Monnier authored
      * lisp/info.el (Info-mode-map): Remove left-over binding.
      * lisp/net/tramp.el (tramp-handle-make-symbolic-link): Mark unused arg.
      * lisp/obsolete/gulp.el (gulp-create-m-p-alist): Remove unused var `mnt-tm'.
      * lisp/progmodes/gud.el (gud-gdb-completions): Remove unused var `start'.
      * lisp/url/url-http.el (url-http-activate-callback): Make debug more verbose.
      * src/process.c: Whitespace and line-break nitpicks.
      b76bea4c
  10. 31 Oct, 2014 2 commits
    • Eli Zaretskii's avatar
      Minor fixes in the changes in preparation for git migration. · b8ff3a9f
      Eli Zaretskii authored
       src/Makefile.in (repo-update): Fix a typo and slightly reword
       commentary.
      
       admin/notes/repo (Notes): Reword the stylistic guidance for commit log
       messages so that they are in line with Emacs development practices
       and style guidance.
      b8ff3a9f
    • Eric S. Raymond's avatar
      Backport changes in preparation for git migration from trunk. · cac77f92
      Eric S. Raymond authored
       admin: Changes in several documents.
       autogen.sh: Neutralize language specific to a repository type.
      
       doc/misc/efaq-w32.texi: Neutralized language specific to a repository type.
      
       doc/misc/gnus-coding.txt: Neutralized language specific to a repository type.
      
       lisp/Makefile.in: Change some production names so they're neutral
       about the repository type.
      cac77f92
  11. 25 Oct, 2014 1 commit
  12. 20 Oct, 2014 1 commit
  13. 06 Oct, 2014 2 commits
  14. 10 Sep, 2014 1 commit
    • Stefan Monnier's avatar
      CC-mode: Set open-paren-in-column-0-is-defun-start to nil; · 47003633
      Stefan Monnier authored
      plus misc cleanup.
      * lisp/progmodes/cc-mode.el (c-basic-common-init):
      Set open-paren-in-column-0-is-defun-start.
      (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
      Remove declarations, unused.
      (run-mode-hooks): Remove declaration.
      (font-lock-defaults): Use plain `defvar' to declare.
      (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
      * lisp/progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
      (c-make-mode-syntax-table): Don't micro-optimize.
      (c-keywords, c-keyword-member-alist): Simplify.
      (c-kwds-lang-consts): Don't eval at compile-time.
      (c-primary-expr-regexp): Comment out unused vars.
      * lisp/progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
      (c-font-byte-compile): New var.
      (c--compile): New function.  Use it instead of `byte-compile'.
      (c-cpp-matchers): Quote the value returned by
      `c-make-syntactic-matcher' in case it's not self-evaluating.
      (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
      parentheses instead (in case MATCHER happens to be a list).
      (c-font-lock-enum-tail): Remove unused var `start'.
      (c-font-lock-objc-methods): Silence byte-compiler warnings.
      * lisp/progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
      test into an argument.
      * lisp/progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
      (c-get-char-property): Don't use `eval' just to unquote a constant.
      (c-use-extents): Remove.  Use (featurep 'xemacs), compiled
      more efficiently.
      (c-put-char-property-fun): Don't call `byte-compile' by hand.
      (c-clear-char-property, c-clear-char-properties): Check that `property'
      is a quoted constant.
      (c-emacs-features): Remove `infodock', `syntax-properties', and
      `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
      'xemacs) instead).  Use `with-temp-buffer' and let-bind vars after
      changing buffer, so we don't have to setq them again afterwards.
      (c-lang-const): Remove redundant symbolp assertions.
      (c-find-assignment-for-mode): Use `or'.
      * lisp/Makefile.in (compile-one-process): Remove cc-mode dependency.
      47003633
  15. 09 Sep, 2014 1 commit
  16. 16 Aug, 2014 1 commit
    • Paul Eggert's avatar
      Add dependencies to fix loaddefs race during parallel builds. · 3bcff29c
      Paul Eggert authored
      Without this, for example, 'make -j bootstrap' can fail and report
      "Opening input file: no such file or directory,
      .../lisp/calendar/diary-loaddefs.el ... recipe for target
      'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
      got confused because diary-loaddefs.el was being built in parallel.
      * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
      Depend on $(CAL_DIR)/cal-loaddefs.el.
      ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
      3bcff29c
  17. 30 Jun, 2014 2 commits
  18. 28 Jun, 2014 2 commits
  19. 26 Jun, 2014 1 commit
  20. 25 Jun, 2014 1 commit
    • Glenn Morris's avatar
      lisp/Makefile: Remove cc-*.el dependencies on non-cc files · d3033d00
      Glenn Morris authored
      * lisp/Makefile.in ($(lisp)/progmodes/cc-defs.elc)
      ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
      ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc files.
      They are not relevant to the original issue (bug#1004),
      and cause unnecessary recompilation (bug#2151).
      d3033d00
  21. 15 Jun, 2014 1 commit
    • Glenn Morris's avatar
      Use `make -C' rather than `cd && make' · 0d9f8137
      Glenn Morris authored
      * Makefile.in: Use `make -C' rather than `cd && make' throughout.
      
      * lib-src/Makefile.in (../lib/libgnu.a): Use `make -C' rather than `cd && make'.
      
      * lisp/Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
      
      * lwlib/Makefile.in ($(globals_h)): Use `make -C' rather than `cd && make'.
      
      * src/Makefile.in: Use `make -C' rather than `cd && make' throughout.
      0d9f8137
  22. 13 Jun, 2014 1 commit
    • Glenn Morris's avatar
      With GNU make, MFLAGS is not needed · f9d80c51
      Glenn Morris authored
      * Makefile.in (CC, CFLAGS, LDFLAGS, CPPFLAGS, abs_top_srcdir):
      Remove, no longer used.
      (lib, lib-src, lisp, nt, src, blessmail, install-arch-dep)
      (install-nt, install-strip, uninstall, uninstall-nt)
      (mostlyclean, clean, distclean, bootstrap-clean)
      (maintainer-clean, extraclean, TAGS, tags, check, $(DOCS)):
      ($(INSTALL_DOC), $(UNINSTALL_DOC), info, bootstrap, check-declare):
      GNU make automatically passes command-line arguments to sub-makes.
      
      * admin/unidata/Makefile.in (${DSTDIR}/charprop.el):
      GNU make automatically passes command-line arguments to sub-makes.
      
      * lib-src/Makefile.in (../lib/libgnu.a):
      GNU make automatically passes command-line arguments to sub-makes.
      
      * lisp/Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
      (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
      (compile-always): GNU make automatically passes
      command-line arguments to sub-makes.
      
      * lwlib/Makefile.in ($(globals_h)):
      GNU make automatically passes command-line arguments to sub-makes.
      
      * src/Makefile.in ($(leimdir)/leim-list.el, $(srcdir)/macuvs.h)
      ($(lispsource)/international/charprop.el)
      ($(libsrc)/make-docfile$(EXEEXT), $(lwlibdir)/liblw.a)
      ($(oldXMenudir)/libXMenu11.a, ns-app, .el.elc)
      ($(lispsource)/loaddefs.el, bootstrap-emacs$(EXEEXT)):
      GNU make automatically passes command-line arguments to sub-makes.
      
      * test/automated/Makefile.in (compile-main):
      GNU make automatically passes command-line arguments to sub-makes.
      f9d80c51
  23. 02 Jun, 2014 2 commits
  24. 11 Apr, 2014 1 commit
    • Glenn Morris's avatar
      Avoid EMACSDATA in user environment interfering with building · e088b01d
      Glenn Morris authored
      * admin/grammars/Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH):
      * leim/Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH):
      * lisp/Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH):
      * test/automated/Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH):
      Unexport.
      
      Fixes: debbugs:16429
      e088b01d
  25. 29 Mar, 2014 1 commit
    • Glenn Morris's avatar
      Manage reftex's internal autoloads automatically · 41116c5a
      Glenn Morris authored
      * lisp/textmodes/reftex.el: Manage most autoloads automatically.
      
      * lisp/textmodes/reftex-auc.el, lisp/textmodes/reftex-cite.el:
      * lisp/textmodes/reftex-dcr.el, lisp/textmodes/reftex-global.el:
      * lisp/textmodes/reftex-index.el, lisp/textmodes/reftex-parse.el:
      * lisp/textmodes/reftex-ref.el, lisp/textmodes/reftex-sel.el:
      * lisp/textmodes/reftex-toc.el: Set generated-autoload-file,
      and add autoload cookies for reftex.el.
      
      * lisp/Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
      41116c5a
  26. 27 Mar, 2014 1 commit
  27. 21 Mar, 2014 1 commit
    • Glenn Morris's avatar
      Don't set make-backup-files in lisp/Makefile loaddefs rules · aa3a7b51
      Glenn Morris authored
      * lisp/Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
      ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
      ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
      Don't set `make-backup-files'.
      
      It doesn't really matter either way, so we might as well not bother.
      aa3a7b51
  28. 14 Mar, 2014 1 commit