1. 03 May, 2014 1 commit
    • Paul Eggert's avatar
      Get --enable-gcc-warnings to work after touching configure.ac. · 541df9f4
      Paul Eggert authored
      Preserve ACLOCAL_PATH in later builds, so that by default it has
      the same value as it did in the first build after initial checkout.
      * Makefile.in (ACLOCAL_PATH): New macro.
      ($(srcdir)/aclocal.m4): Use it.
      * configure.ac (ACLOCAL_PATH): AC_SUBST it.
      * autogen.sh (env_space): New var.
      Tell user what variables, if any, to pass to 'configure'.
      541df9f4
  2. 17 Apr, 2014 2 commits
    • Paul Eggert's avatar
      * Makefile.in (force-info): Remove. · 8ac457d5
      Paul Eggert authored
      All uses removed.  This hack is no longer needed here
      now that we can assume GNU Make's .PHONY feature works.
      (bootstrap): No need to make 'info', since 'all' now implies 'info'.
      8ac457d5
    • Paul Eggert's avatar
      * Makefile.in (FRC): Remove. · 2ff06dac
      Paul Eggert authored
      All uses removed.  This hack is no longer needed here
      now that we can assume GNU Make's .PHONY feature works.
      2ff06dac
  3. 27 Mar, 2014 1 commit
    • Glenn Morris's avatar
      Require GNU make to build Emacs · f6dce6c1
      Glenn Morris authored
      Ref: http://debbugs.gnu.org/16717#45
      If no-one objects, we can then start getting rid of some of the
      convoluted Makefile hacks that exist to support non-GNU makes.
      
      * configure.ac: Require GNU make.
      (HAVE_GNU_MAKE): Remove.
      
      * INSTALL, etc/NEWS, etc/PROBLEMS: Update for this change.
      
      * Makefile.in: Comment.
      f6dce6c1
  4. 21 Mar, 2014 1 commit
  5. 14 Feb, 2014 1 commit
  6. 13 Feb, 2014 2 commits
  7. 16 Jan, 2014 2 commits
  8. 13 Jan, 2014 2 commits
  9. 12 Jan, 2014 3 commits
  10. 01 Jan, 2014 1 commit
  11. 12 Dec, 2013 4 commits
    • Glenn Morris's avatar
      Generate info/dir from .texi files rather than .info files · b55e11bf
      Glenn Morris authored
      * Makefile.in (install-info): Handle missing info/dir.
      (info_dir_deps): New variable.
      (${srcdir}/info/dir): Depend on .texi files rather than .info files.
      (check-info): Update topics.
      
      * build-aux/make-info-dir: Use .texi files rather than .info files.
      Update topics.
      
      * doc/lispintro/emacs-lisp-intro.texi:
      * doc/lispref/elisp.texi:
      Tweak dircategory (all the others use "Emacs" + lower-case).
      b55e11bf
    • Glenn Morris's avatar
      f5011847
    • Glenn Morris's avatar
    • Glenn Morris's avatar
      Stop keeping info/dir in the repository. · 62bd73fa
      Glenn Morris authored
      * build-aux/dir_top: Move here from admin/.
      
      * build-aux/make-info-dir: New script.
      
      * Makefile.in (bootstrap-clean): Delete info/.
      (info-dir, ${srcdir}/info/dir): New rules.
      (info): Also make info-dir.
      (check-info): Rename from check-info-dir.
      Instead of info/dir entries, check @dircategory in info/*.info.
      
      * make-dist: Use `info' rule rather than `info-real'.
      No more info/COPYING (not even the right license for info/ files).
      
      * info/: Remove from repository.
      
      * admin/update_autogen (info_dir):
      Use dir_top from build-aux/ rather than admin/.
      
      * .bzrignore: Ignore info/ altogether.
      
      * doc/emacs/Makefile.in: Comment.
      62bd73fa
  12. 30 Nov, 2013 1 commit
    • Glenn Morris's avatar
      Stop keeping (all but one) generated cedet grammar files in the repository · f9b697dd
      Glenn Morris authored
      * configure.ac (SUBDIR_MAKEFILES, AC_CONFIG_FILES):
      Add admin/grammars Makefile.
      
      * Makefile.in (distclean, bootstrap-clean, maintainer-clean):
      Also clean admin/grammars, if present.
      
      * admin/grammars/README: Remove.
      
      * admin/grammars/Makefile.in: New file.
      
      * admin/grammars/c.by, admin/grammars/java-tags.wy, admin/grammars/js.wy:
      * admin/grammars/python.wy: Update declarations to match generated outputs.
      
      * lisp/Makefile.in (semantic): New.
      (compile-main): Depend on semantic.
      
      * lisp/cedet/semantic/bovine/grammar.el (bovine--make-parser-1):
      New function, split from bovine-make-parsers.
      (bovine-make-parsers): Use bovine--make-parser-1.
      (bovine-batch-make-parser): New function.
      
      * lisp/cedet/semantic/wisent/grammar.el (wisent--make-parser-1):
      New function, split from wisent-make-parsers.
      (wisent-make-parsers): Use wisent--make-parser-1.
      (wisent-batch-make-parser): New function.
      
      * lisp/cedet/semantic/db.el (semanticdb-save-all-db):
      Avoid prompting in batch mode.
      
      * lisp/cedet/semantic/grammar.el (semantic-grammar-footer-template):
      Disable version-control and autoloads in the output.
      (semantic-grammar-create-package):
      Add option to return nil if output is up-to-date.
      
      * lisp/cedet/semantic/bovine/c-by.el, lisp/cedet/semantic/bovine/make-by.el:
      * lisp/cedet/semantic/bovine/scm-by.el, lisp/cedet/semantic/wisent/javat-wy.el:
      * lisp/cedet/semantic/wisent/js-wy.el, lisp/cedet/semantic/wisent/python-wy.el:
      * lisp/cedet/srecode/srt-wy.el: Remove generated files from repository.
      
      * .bzrignore: Update for this.
      f9b697dd
  13. 29 Nov, 2013 1 commit
  14. 27 Nov, 2013 2 commits
    • Glenn Morris's avatar
      Stop keeping generated Unicode lisp files in the repository · 7e3bf78c
      Glenn Morris authored
      Ref: http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg01023.html
      
      * admin/unidata/Makefile.in (all, install, clean, bootstrap-clean)
      (distclean, maintainer-clean): Declare as PHONY.
      (compile, extraclean): New.
      (${DSTDIR}/charprop.el): Depend on source files rather than
      intermediate products.
      
      * lisp/international/charprop.el, lisp/international/uni-bidi.el:
      * lisp/international/uni-category.el, lisp/international/uni-combining.el:
      * lisp/international/uni-comment.el, lisp/international/uni-decimal.el:
      * lisp/international/uni-decomposition.el, lisp/international/uni-digit.el:
      * lisp/international/uni-lowercase.el, lisp/international/uni-mirrored.el:
      * lisp/international/uni-name.el, lisp/international/uni-numeric.el:
      * lisp/international/uni-old-name.el, lisp/international/uni-titlecase.el:
      * lisp/international/uni-uppercase.el:
      Remove generated files from VCS repository.
      
      * src/Makefile.in ($(lispsource)/international/charprop.el): New.
      (emacs$(EXEEXT)): Depend on charprop.el.
      
      * Makefile.in: Comment.
      
      * .bzrignore: Add generated Unicode files.
      7e3bf78c
    • 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
  15. 26 Nov, 2013 1 commit
    • Glenn Morris's avatar
      Preload leim-list.el · 624780f0
      Glenn Morris authored
      * Makefile.in (abs_builddir): New, set by configure.
      (buildlisppath): Add leim/.
      (epaths-force-w32): Set BLD.
      
      * lisp/loadup.el: Load leim-list.el when found.
      
      * lisp/startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
      
      * nt/epaths.nt (PATH_DUMPLOADSEARCH): Add leim/.
      
      * src/callproc.c (init_callproc): Don't assume PATH_DUMPLOADSEARCH
      is a single directory.
      
      * src/epaths.in (PATH_DUMPLOADSEARCH): Add leim/.
      
      Fixes: debbugs:4789
      624780f0
  16. 25 Nov, 2013 1 commit
  17. 20 Nov, 2013 1 commit
  18. 13 Nov, 2013 1 commit
  19. 12 Nov, 2013 1 commit
  20. 05 Nov, 2013 2 commits
    • Glenn Morris's avatar
      * Makefile.in (epaths-force-w32): Move srcdir tweak here · c923b188
      Glenn Morris authored
      * configure.ac (abs_srcdir) [MINGW32]: No point setting it here,
      config.status computes it.
      c923b188
    • Glenn Morris's avatar
      Remove the autogen/ directory · 4dde498b
      Glenn Morris authored
      Ref: http://lists.gnu.org/archive/html/emacs-devel/2013-10/msg00806.html
      
      * autogen: Remove directory.  Move update_autogen to admin/.
      * autogen.sh: Remove reference to copy_autogen.
      * GNUmakefile (configure):
      * Makefile.in (bootstrap): Do not try to run copy_autogen.
      * config.bat: Use msdos/autogen rather than autogen.
      
      * admin/update_autogen: Move here from ../autogen.
      (usage): Update.  Remove -l, add -A.
      (autogendir): New variable.
      (ldefs_flag): Default to set.
      (genfiles): Reduce to only ms-dos relevant files.
      (main): Make checking autogen sources optional.
      Make copying of autogen files optional.
      
      * msdos/autogen/config.in:
      * msdos/autogen/Makefile.in: Move here from ../autogen.
      
      * nt/INSTALL: Remove reference to copy_autogen.
      
      * nt/config.nt: Comment.
      4dde498b
  21. 02 Nov, 2013 1 commit
    • Glenn Morris's avatar
      test/automated: Use relative filename for emacs executable · 67fb4e6a
      Glenn Morris authored
      * Makefile.in (check): Depend on all.
      
      * test/automated/Makefile.in (abs_top_builddir): Remove variable.
      (EMACS): Use a relative file name.
      (lisp-compile): Remove (assume it's up-to-date).
      (compile-main): Do not run lisp-compile.
      (check): Use --chdir.
      67fb4e6a
  22. 30 Oct, 2013 1 commit
  23. 24 Oct, 2013 3 commits
  24. 23 Oct, 2013 4 commits
    • Glenn Morris's avatar
      4b56b9d7
    • Glenn Morris's avatar
      More Makefile quoting · a318e28f
      Glenn Morris authored
      * Makefile.in (install-arch-dep, install-nt, uninstall, uninstall-nt):
      Quote entities that might contain whitespace.
      a318e28f
    • Glenn Morris's avatar
      Progress towards allowing installation in directories with whitespace · 48f73cfb
      Glenn Morris authored
      * Makefile.in (COPYDESTS, write_subdir, install-arch-dep)
      (install-arch-indep, install-etcdoc, install-info, install-man)
      (install-etc, uninstall): Quote entities that might contain whitespace.
      
      * build-aux/update-subdirs: Handle whitespace in argument.
      Check cd return value.
      
      * doc/emacs/Makefile.in (install-dvi, install-html, install-pdf)
      (install-ps, uninstall-dvi, uninstall-html, uninstall-ps)
      (uninstall-pdf): Quote entities that might contain whitespace.
      
      * doc/lispintro/Makefile.in (install-dvi, install-html, install-pdf)
      (install-ps, uninstall-dvi, uninstall-html, uninstall-ps)
      (uninstall-pdf): Quote entities that might contain whitespace.
      
      * doc/lispref/Makefile.in (install-dvi, install-html, install-pdf)
      (install-ps, uninstall-dvi, uninstall-html, uninstall-ps)
      (uninstall-pdf): Quote entities that might contain whitespace.
      
      * doc/misc/Makefile.in (install-dvi, install-html, install-pdf)
      (install-ps, uninstall-dvi, uninstall-html, uninstall-ps)
      (uninstall-pdf): Quote entities that might contain whitespace.
      
      * lib-src/Makefile.in ($(DESTDIR)${archlibdir}, need-blessmail, install)
      (uninstall): Quote entities that might contain whitespace.
      
      * nt/Makefile.in ($(DESTDIR)${archlibdir}, install, uninstall):
      Quote entities that might contain whitespace.
      48f73cfb
    • 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