1. 20 Jun, 2019 1 commit
    • Lars Ingebrigtsen's avatar
      Make extraclean return tree to pristine state by deleting more · de4e1bdd
      Lars Ingebrigtsen authored
      * src/Makefile.in (extraclean): Remove TAGS and config.in.
      
      * Makefile.in (extraclean): Remove info, configure and
      emacsver.texi in extraclean.
      * admin/unidata/Makefile.in (extraclean): Make it depend on
      distclean to remove .elc files.
      
      * leim/Makefile.in (extraclean): Depend on bootstrap-clean to
      remove generated .el files.
      
      * lib/Makefile.in (extraclean): Added target to remove sys
      directory and run distclean.
      
      * lisp/Makefile.in (extraclean): Also remove loaddefs*.el~ files.
      de4e1bdd
  2. 24 Feb, 2019 1 commit
    • Eric Abrahamsen's avatar
      Make pinyin to Chinese character mapping available to elisp · 28f7e981
      Eric Abrahamsen authored
      * leim/Makefile.in: Build the file pinyin.el from pinyin.map.
      * lisp/international/titdic-cnv.el (pinyin-convert): New function that
        writes the library pinyin.el, containing a new constant
        `pinyin-character-map'.
      * .gitignore: Ignore the generated pinyin.el file.
      28f7e981
  3. 01 Jan, 2019 1 commit
  4. 01 Jan, 2018 1 commit
  5. 13 Sep, 2017 1 commit
    • Paul Eggert's avatar
      Prefer HTTPS to FTP and HTTP in documentation · bc511a64
      Paul Eggert authored
      Most of this change is to boilerplate commentary such as license URLs.
      This change was prompted by ftp://ftp.gnu.org's going-away party,
      planned for November.  Change these FTP URLs to https://ftp.gnu.org
      instead.  Make similar changes for URLs to other organizations moving
      away from FTP.  Also, change HTTP to HTTPS for URLs to gnu.org and
      fsf.org when this works, as this will further help defend against
      man-in-the-middle attacks (for this part I omitted the MS-DOS and
      MS-Windows sources and the test tarballs to keep the workload down).
      HTTPS is not fully working to lists.gnu.org so I left those URLs alone
      for now.
      bc511a64
  6. 01 Jan, 2017 1 commit
  7. 01 Jan, 2016 1 commit
  8. 30 Jun, 2015 1 commit
  9. 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
  10. 04 Jan, 2015 1 commit
    • Paul Eggert's avatar
      Less 'make' chatter for leim · c895d02c
      Paul Eggert authored
      * Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_GEN, am__v_GEN_)
      (am__v_GEN_0, am__v_GEN_1, AM_V_at, am__v_at_, am__v_at_0)
      (am__v_at_1): New macros, from src/Makefile.in.
      (${leimdir}/quail/%.el, misc_convert, ${leimdir}/leim-list.el)
      (${leimdir}/ja-dic/ja-dic.el): Use them.
      c895d02c
  11. 01 Jan, 2015 2 commits
  12. 10 Jun, 2014 1 commit
    • Glenn Morris's avatar
      leim/Makefile.in: use GNU Make features to simplify and parallelize. · bb175792
      Glenn Morris authored
      * leim/Makefile.in (CHINESE_TIT, TIT_SOURCES, MISC_SOURCES, changed.tit)
      (changed.misc): Remove.
      (${leimdir}/quail, ${leimdir}/ja-dic): Create using order-only prereq.
      (misc_convert): New.
      (${leimdir}/quail/%.el, ${leimdir}/quail/CT%.el)
      (${leimdir}/quail/PY.el, ${leimdir}/quail/ZIRANMA.el)
      (${leimdir}/quail/tsang-%.el, ${leimdir}/quail/quick-%.el): Use pattern rules.
      (${leimdir}/leim-list.el, ${leimdir}/ja-dic/ja-dic.el):
      Use automatic variables.
      (bootstrap-clean): No changed.* files to delete any more.
      
      * .bzrignore: No leim/changed.* files to ignore any more.
      bb175792
  13. 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
  14. 20 Jan, 2014 1 commit
    • Paul Eggert's avatar
      Revert some of the CANNOT_DUMP fix. · f952002e
      Paul Eggert authored
      Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
      but fixing this can wait until after the next release.
      * leim/Makefile.in (RUN_EMACS): Keep EMACSLOADPATH empty.
      * lisp/Makefile.in (emacs): Keep EMACSLOADPATH empty.
      * src/lread.c (init_lread): Fix typo: NILP, not !NILP.
      
      Fixes: debbugs:16494
      f952002e
  15. 01 Jan, 2014 1 commit
  16. 16 Dec, 2013 1 commit
    • Paul Eggert's avatar
      Fix problems with CANNOT_DUMP and EMACSLOADPATH. · 8fb8c4f3
      Paul Eggert authored
      * leim/Makefile.in (RUN_EMACS):
      * lisp/Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
      * lisp/loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
      Expand dir too, in case it's relative.
      * src/lread.c (init_lread): If CANNOT_DUMP, we can't be dumping.
      8fb8c4f3
  17. 28 Nov, 2013 2 commits
  18. 27 Nov, 2013 3 commits
    • Glenn Morris's avatar
      * leim/Makefile.in (bootstrap-clean): No need to delete .elc, · 2b58a9cc
      Glenn Morris authored
      lisp/ rules will do that.
      2b58a9cc
    • Glenn Morris's avatar
      Don't delete ja-dic.el even in a bootstrap, since it is slow to remake · ccd4fb3d
      Glenn Morris authored
      * leim/Makefile.in (extraclean): New.
      (bootstrap-clean): Move ja-dic deletion to extraclean.
      ccd4fb3d
    • Glenn Morris's avatar
      Move runtime leim lisp files to lisp/leim directory · cb6c95a3
      Glenn Morris authored
      This allows us to reuse much of the lisp build and installation machinery,
      rather than duplicating it.
      
      * Makefile.in (abs_builddir, leimdir): Remove.
      (buildlisppath, SUBDIR, COPYDIR, COPYDESTS): No more leim directory.
      (epaths-force-w32): No longer set BLD.
      (leim): Remove.
      (install-arch-indep): No longer run or install leim.
      (mostlyclean, clean): No longer run leim rule.
      (bootstrap-clean): Change leim target.
      (maintainer-clean): Add leim.
      (check-declare): Remove leim.
      
      * README: Update for leim changes.
      
      * configure.ac (leimdir): Remove.
      (standardlisppath): No more leimdir.
      
      * make-dist: Update for files from leim/ now being in lisp/leim/.
      
      * doc/lispref/loading.texi (Library Search):
      * doc/lispref/os.texi (Startup Summary): No more leim directory.
      
      * leim/Makefile.in (leimdir): New variable.
      (TIT_GB, TIT_BIG5, MISC, changed.tit, changed.misc)
      (${leimdir}/leim-list.el, ${leimdir}/ja-dic/ja-dic.el):
      Generate in $leimdir.
      (all): Remove compilation, add ja-dic.
      (leim-list.el): Now PHONY.
      (setwins, compile-targets, compile-main, clean, mostlyclean)
      (extraclean): Remove.
      (bootstrap-clean): Delete all generated files.
      
      * leim/README: Update for moved leim/ directory.
      
      * leim/leim-ext.el (ucs-input-activate, hangul-input-method-activate):
      Remove manual autoloads; now in loaddefs.el.
      Disable byte-compile, version-control, autoloads in the output.
      
      * lisp/Makefile.in (setwins_for_subdirs): Skip leim/ directory.
      (compile-main): Depend on lisp/leim rule.
      (leim): New rule.
      
      * lisp/loadup.el: Move leim-list.el to leim/ subdirectory.
      
      * lisp/startup.el (normal-top-level): No more leim directory.
      
      * lisp/international/ja-dic-cnv.el (skkdic-convert):
      Disable version-control and autoloads in output files.
      * lisp/international/titdic-cnv.el (titdic-convert, miscdic-convert):
      Disable version-control and autoloads in output files.
      
      * lisp/leim/quail: Move here from ../leim.
      
      * lisp/leim/quail/hangul.el (hangul-input-method-activate):
      Add autoload cookie.
      (generated-autoload-load-name): Set file-local value.
      
      * lisp/leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
      (generated-autoload-load-name): Set file-local value.
      
      * nt/README.W32:
      * nt/addpm.c (env_vars):
      * nt/epaths.nt (PATH_LOADSEARCH, PATH_DUMPLOADSEARCH):
      * nt/paths.h (PATH_LOADSEARCH): No more leim directory.
      
      * src/Makefile.in (leimdir): Now in lisp source directory.
      ($(leimdir)/leim-list.el): Just use ../leim .
      
      * src/epaths.in (PATH_DUMPLOADSEARCH):
      
      * src/lread.c (load_path_default):
      
      * src/nsterm.m (ns_load_path): No more leim directory.
      
      * .bzrignore: Update for relocated leim files.
      cb6c95a3
  19. 23 Nov, 2013 1 commit
    • Glenn Morris's avatar
      Empty elements in EMACSLOADPATH now stand for the default · 17e0445b
      Glenn Morris authored
      * src/lread.c (load_path_check): Take path to check as argument.
      (load_path_default): New, split from init_lread.
      (init_lread): Move calc of default load-path to load_path_default.
      Empty elements in EMACSLOADPATH now stand for the default.
      (load-path): Doc fix.
      
      * src/emacs.c (decode_env_path): Add option to treat empty elements
      as nil rather than ".".
      
      * src/callproc.c (init_callproc_1, init_callproc):
      * src/image.c (Vx_bitmap_file_path):
      * src/lisp.h (decode_env_path):
      * lread.c (Vsource_directory):
      Update for new argument spec of decode_env_path.
      
      * leim/Makefile.in (RUN_EMACS): Empty EMACSLOADPATH rather than unsetting.
      
      * lisp/Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
      
      * test/automated/Makefile.in (emacs):
      Empty EMACSLOADPATH rather than unsetting.
      
      * doc/emacs/cmdargs.texi (General Variables):
      Empty elements in EMACSLOADPATH now mean the default load-path.
      
      * doc/lispref/loading.texi (Library Search):
      Empty elements in EMACSLOADPATH now mean the default load-path.
      
      * etc/NEWS: Mention this.
      
      Fixes: debbugs:12100
      17e0445b
  20. 04 Nov, 2013 1 commit
    • Eli Zaretskii's avatar
      Fix bug #15260 with building and installing Emacs in non-ASCII directories. · d0065ff1
      Eli Zaretskii authored
       src/xdisp.c (message3_nolog, message_with_string): Encode the string
       before writing it to the terminal in a non-interactive session.
       src/lread.c (openp): If both FILENAME and SUFFIX are unibyte, make
       sure we concatenate them into a unibyte string.
       src/fileio.c (make_temp_name): Encode PREFIX, and decode the
       resulting temporary name before returning it to the caller.
       (Fexpand_file_name): If NAME is pure-ASCII and DEFAULT_DIRECTORY
       is a unibyte string, convert NAME to a unibyte string to ensure
       that the result is also a unibyte string.
       src/emacs.c (init_cmdargs): Use build_unibyte_string to make sure we
       create unibyte strings from default paths and directory/file
       names.
       src/coding.h (ENCODE_FILE): Do not attempt to encode a unibyte
       string.
       src/callproc.c (init_callproc): Use build_unibyte_string to make
       sure we create unibyte strings from default paths and
       directory/file names.
       src/buffer.c (init_buffer): Don't store default-directory of
       *scratch* in multibyte form.  The original problem which led to
       that is described in
       http://lists.gnu.org/archive/html/emacs-pretest-bug/2004-11/msg00532.html,
       but it was solved long ago.
      
       lisp/startup.el (normal-top-level): Move setting eol-mnemonic-unix,
       eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
       environment and decoding all of the default-directory's to here
       from command-line.
       (command-line): Decode also argv[0].
       lisp/loadup.el: Error out if default-directory is a multibyte string
       when we are dumping.
       lisp/Makefile.in (emacs): Don't set LC_ALL=C.
      
       leim/Makefile.in (RUN_EMACS): Don't set LC_ALL=C.
      
       configure.ac: Don't disallow builds in non-ASCII directories.
      d0065ff1
  21. 03 Nov, 2013 1 commit
  22. 02 Nov, 2013 1 commit
  23. 24 Oct, 2013 1 commit
  24. 23 Oct, 2013 1 commit
    • Glenn Morris's avatar
      Make building in directories with whitespace possible · b8e3b0a9
      Glenn Morris authored
      Make has trouble with targets containing whitespace, 
      http://savannah.gnu.org/bugs/?712, so the general approach is
      to use relative paths where possible.  It's generally only Emacs
      itself that needs absolute paths, eg in src/epaths.h.
      
      * configure.ac (srcdir): Don't make it absolute - abs_srcdir exists.
      
      * Makefile.in (abs_srcdir): New, set by configure.
      (buildlisppath): Use abs_srcdir.
      (install-arch-indep, install-etcdoc, install-info, install-man)
      (install-etc): Quote entities that might contain whitespace.
      
      * admin/unidata/Makefile.in (emacs, ${DSTDIR}/charprop.el):
      Quote entities that might contain whitespace.
      
      * leim/Makefile.in (abs_srcdir): New, set by configure.
      (buildlisppath): Use abs_srcdir.
      (RUN_EMACS, .el.elc, changed.tit, changed.misc, leim-list.el)
      ($(srcdir)/ja-dic/ja-dic.el, setwins, distclean, check-declare):
      Quote entities that might contain whitespace.
      
      * lib-src/Makefile.in ($(DESTDIR)${archlibdir}):
      Quote entities that might contain whitespace.
      
      * lisp/Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
      (emacs, compile, compile-always):
      Quote entities that might contain whitespace.
      (custom-deps, finder-data, autoloads): Use abs_lisp.
      ($(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): Manually expand target file name.
      
      * nextstep/Makefile.in (${ns_check_file} ${ns_appdir}):
      Quote entities that might contain whitespace.
      
      * nt/Makefile.in ($(DESTDIR)${archlibdir}):
      Quote entities that might contain whitespace.
      
      * src/Makefile.in (RUN_TEMACS): Make relative (again).
      ($(leimdir)/leim-list.el, .el.elc, $(lispsource)/loaddefs.el)
      (bootstrap-emacs$(EXEEXT)):
      Quote entities that might contain whitespace.
      
      * test/automated/Makefile.in (abs_top_srcdir, top_builddir):
      New, set by configure.
      (top_srcdir): Remove.
      (abs_test, abs_lispsrc): New.
      (lisp): No longer absolute.
      (emacs, lisp-compile, compile, compile-always):
      Quote entities that might contain whitespace.
      
      Fixes: debbugs:15675
      b8e3b0a9
  25. 28 Aug, 2013 1 commit
  26. 23 Jul, 2013 1 commit
  27. 25 May, 2013 2 commits
    • Eli Zaretskii's avatar
      bc1dd793
    • Eli Zaretskii's avatar
      Rename reveal-filename into unmsys--filename. · a052ef3b
      Eli Zaretskii authored
       lisp/subr.el (unmsys--filename): Renamed from reveal-filename.
       lisp/Makefile.in (custom-deps, finder-data, autoloads)
       ($(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): All users changed.
      
       leim/Makefile.in (leim-list.el, check-declare): Replace
       reveal-filename with unmsys--filename.
      a052ef3b
  28. 20 Apr, 2013 1 commit
  29. 20 Mar, 2013 1 commit
  30. 18 Mar, 2013 1 commit
    • Paul Eggert's avatar
      Automate the build of ja-dic.el. · 982efbcd
      Paul Eggert authored
      ja-dic.el no longer needs to be in the repository: it's now
      generated as part of the build from bzr.  Also, update SKK-JISYO.L to
      match the upstream source exactly.
      * .bzrignore: Add leim/ja-dic/.
      * leim/ja-dic/ja-dic.el: Remove from repository.  It is still distributed
      as part of the Emacs tarball.
      * leim/Makefile.in ($(srcdir)/ja-dic/ja-dic.el): New rule.
      (compile-main): Depend on it.
      * leim/SKK-DIC/README: Update to reflect new build procedure.
      * leim/SKK-DIC/SKK-JISYO.L: Update to match source exactly.
      This is now the annotated version, to match the upstream file name;
      the unannotated one is built from it automatically.
      * lisp/international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
      from the input, rather than assume that it's been done for us by the
      SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
      the current date into a ja-dic.el comment, as that complicates
      regression testing.
      
      Fixes: debbugs:13984
      982efbcd
  31. 01 Jan, 2013 1 commit
  32. 30 Jul, 2012 1 commit
  33. 22 May, 2012 1 commit
    • Glenn Morris's avatar
      Remove leim/Makefile.in's SUBDIRS · 35c46c2f
      Glenn Morris authored
      It isn't necessary given MKDIR_P, and I have some vague memory that
      the time-stamping was causing unncessary re-dumping in some instance.
      
      * leim/Makefile.in (SUBDIRS): Remove variable and rule.
      (MKDIR_P): Add it back.
      (all, changed.tit, changed.misc, leim-list.el): Don't depend on SUBDIRS.
      (changed.tit, changed.misc): Ensure output directory exists.
      (distclean): Don't use SUBDIRS.
      35c46c2f
  34. 21 May, 2012 2 commits
    • Glenn Morris's avatar
      Let the top-level Makefile install leim · d10cfddd
      Glenn Morris authored
      * Makefile.in (leimdir): New, set by configure.
      (COPYDIR, COPYDESTS): Add leim directories.
      (install-leim): Remove.
      (install-arch-indep): Handle leim installation directly.
      
      * leim/Makefile.in (install): Remove, let top-level do it.
      (version, prefix, datarootdir, datadir, ns_appresdir, leimdir):
      (MKDIR_P, GZIP_PROG): Remove, no longer used.
      d10cfddd
    • Glenn Morris's avatar
      Rename LEIM_INSTALLDIR to leimdir, treat consistently with lispdir · d71dfe75
      Glenn Morris authored
      * configure.in (LEIM_INSTALLDIR): Rename to leimdir, treat like lispdir.
      
      * leim/Makefile.in (install_prefix): Remove.
      (LEIM_INSTALLDIR): Rename to leimdir.
      (install): Update for this change.
      d71dfe75