[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Changes in lisp/Makefile.in to skip preloaded files
From: |
Juanma Barranquero |
Subject: |
Re: Changes in lisp/Makefile.in to skip preloaded files |
Date: |
Fri, 9 Oct 2009 01:31:45 +0200 |
On Fri, Oct 9, 2009 at 01:08, Lennart Borgman <address@hidden> wrote:
> Thanks for working on this, but what is the status right now? Is it
> possible to build Emacs on w32?
Apply the following patch to temporarily remove the changes that
disable autoload generation on Windows. (This is not a "fix", is just
a workaround.)
Juanma
Index: lisp/emacs-lisp/autoload.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/emacs-lisp/autoload.el,v
retrieving revision 1.149
diff -u -2 -r1.149 autoload.el
--- lisp/emacs-lisp/autoload.el 7 Oct 2009 16:10:37 -0000 1.149
+++ lisp/emacs-lisp/autoload.el 7 Oct 2009 17:23:46 -0000
@@ -684,18 +684,16 @@
"Update loaddefs.el autoloads in batch mode.
Calls `update-directory-autoloads' on the command line arguments."
- ;; For use during the Emacs build process only.
- (unless autoload-excludes
- (let* ((ldir (file-name-directory generated-autoload-file))
- (mfile (expand-file-name "../src/Makefile" ldir))
- lim)
- (when (file-readable-p mfile)
- (with-temp-buffer
- (insert-file-contents mfile)
- (when (re-search-forward "^lisp= " nil t)
- (setq lim (line-end-position))
- (while (re-search-forward "\\${lispsource}\\([^ ]+\\.el\\)c?\\>"
- lim t)
- (push (expand-file-name (match-string 1) ldir)
- autoload-excludes)))))))
+ ;; For use during the Emacs build process only. We do the file-name
+ ;; expansion here rather than in lisp/Makefile in order to keep the
+ ;; shell command line short. (Long lines are an issue on some systems.)
+ (if (stringp autoload-excludes)
+ (setq autoload-excludes
+ (mapcar
+ (lambda (file)
+ (concat
+ (expand-file-name (file-name-sans-extension file)
+ (file-name-directory generated-autoload-file))
+ ".el"))
+ (split-string autoload-excludes))))
(let ((args command-line-args-left))
(setq command-line-args-left nil)
- Re: Changes in lisp/Makefile.in to skip preloaded files, (continued)
- Re: Changes in lisp/Makefile.in to skip preloaded files, Stefan Monnier, 2009/10/06
- Re: Changes in lisp/Makefile.in to skip preloaded files, Glenn Morris, 2009/10/06
- Re: Changes in lisp/Makefile.in to skip preloaded files, Eli Zaretskii, 2009/10/06
- Re: Changes in lisp/Makefile.in to skip preloaded files, Glenn Morris, 2009/10/06
- Re: Changes in lisp/Makefile.in to skip preloaded files, Glenn Morris, 2009/10/07
- Re: Changes in lisp/Makefile.in to skip preloaded files, Eli Zaretskii, 2009/10/07
- Re: Changes in lisp/Makefile.in to skip preloaded files, Juanma Barranquero, 2009/10/07
- Re: Changes in lisp/Makefile.in to skip preloaded files, Glenn Morris, 2009/10/07
- Re: Changes in lisp/Makefile.in to skip preloaded files, Lennart Borgman, 2009/10/08
- Re: Changes in lisp/Makefile.in to skip preloaded files,
Juanma Barranquero <=
- Re: Changes in lisp/Makefile.in to skip preloaded files, Lennart Borgman, 2009/10/08
- Re: Changes in lisp/Makefile.in to skip preloaded files, Juanma Barranquero, 2009/10/08
- Re: Changes in lisp/Makefile.in to skip preloaded files, Glenn Morris, 2009/10/08
- Re: Changes in lisp/Makefile.in to skip preloaded files, Juanma Barranquero, 2009/10/08
- Re: Changes in lisp/Makefile.in to skip preloaded files, Lennart Borgman, 2009/10/09
- ignoring autoloads in preloaded files on Windows [was Re: Changes in lisp/Makefile.in to skip preloaded files], Glenn Morris, 2009/10/09
- Re: ignoring autoloads in preloaded files on Windows [was Re: Changes in lisp/Makefile.in to skip preloaded files], Juanma Barranquero, 2009/10/09
- Re: ignoring autoloads in preloaded files on Windows, Glenn Morris, 2009/10/09
- Re: ignoring autoloads in preloaded files on Windows, Juanma Barranquero, 2009/10/09
- Re: ignoring autoloads in preloaded files on Windows, Juanma Barranquero, 2009/10/10