emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ignoring autoloads in preloaded files on Windows


From: Glenn Morris
Subject: Re: ignoring autoloads in preloaded files on Windows
Date: Sat, 10 Oct 2009 22:36:43 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Juanma Barranquero wrote:

> Using GNU make ("make.exe"), it generates lisp/loaddefs.el as
> expected, but lisp/calendar/*-loaddefs.el and lisp/mh-e/mh-loaddefs.el
> are empty (just the header and the end sections are present).

Oh, whoops. Revised patch for lisp/makefile.w32-in follows.

I'm doing it this way because:

i) I have no idea how to quote a setting of autoload-make-program
inside the --eval expression on Windows.

ii) Since $(MAKE) could be a full path to make, I can only presume it
could be subject to the same munging issue as described for
generated-autoload-file in the doc of w32-batch-update.


*** lisp/makefile.w32-in.~1.99.~        2009-10-08 23:28:21.000000000 -0700
--- lisp/makefile.w32-in        2009-10-10 19:30:54.000000000 -0700
***************
*** 214,220 ****
        @echo Directories: . $(WINS_UPDATES)
        $(emacs) -l autoload \
                --eval $(ARGQUOTE)(setq find-file-hook nil 
find-file-suppress-same-file-warnings t)$(ARGQUOTE) \
!               -f w32-batch-update-autoloads "$(lisp)/loaddefs.el" . 
$(WINS_UPDATES)
  
  $(lisp)/subdirs.el:
        $(MAKE) $(MFLAGS) update-subdirs
--- 214,220 ----
        @echo Directories: . $(WINS_UPDATES)
        $(emacs) -l autoload \
                --eval $(ARGQUOTE)(setq find-file-hook nil 
find-file-suppress-same-file-warnings t)$(ARGQUOTE) \
!               -f w32-batch-update-autoloads "$(lisp)/loaddefs.el" $(MAKE) . 
$(WINS_UPDATES)
  
  $(lisp)/subdirs.el:
        $(MAKE) $(MFLAGS) update-subdirs
***************
*** 358,364 ****
           --eval "(setq find-file-suppress-same-file-warnings t)" \
           --eval "(setq make-backup-files nil)" \
           -f w32-batch-update-autoloads "$(lisp)/calendar/cal-loaddefs.el" \
!             ./calendar
  
  $(lisp)/calendar/diary-loaddefs.el:
        "$(EMACS)" $(EMACSOPT) -l autoload \
--- 358,364 ----
           --eval "(setq find-file-suppress-same-file-warnings t)" \
           --eval "(setq make-backup-files nil)" \
           -f w32-batch-update-autoloads "$(lisp)/calendar/cal-loaddefs.el" \
!             $(MAKE) ./calendar
  
  $(lisp)/calendar/diary-loaddefs.el:
        "$(EMACS)" $(EMACSOPT) -l autoload \
***************
*** 366,372 ****
           --eval "(setq find-file-suppress-same-file-warnings t)" \
           --eval "(setq make-backup-files nil)" \
           -f w32-batch-update-autoloads $(lisp)/calendar/diary-loaddefs.el \
!             ./calendar
  
  $(lisp)/calendar/hol-loaddefs.el:
        "$(EMACS)" $(EMACSOPT) -l autoload \
--- 366,372 ----
           --eval "(setq find-file-suppress-same-file-warnings t)" \
           --eval "(setq make-backup-files nil)" \
           -f w32-batch-update-autoloads $(lisp)/calendar/diary-loaddefs.el \
!             $(MAKE) ./calendar
  
  $(lisp)/calendar/hol-loaddefs.el:
        "$(EMACS)" $(EMACSOPT) -l autoload \
***************
*** 374,380 ****
           --eval "(setq find-file-suppress-same-file-warnings t)" \
           --eval "(setq make-backup-files nil)" \
           -f w32-batch-update-autoloads $(lisp)/calendar/hol-loaddefs.el \
!             ./calendar
  
  # Update MH-E internal autoloads. These are not to be confused with
  # the autoloads for the MH-E entry points, which are already in
--- 374,380 ----
           --eval "(setq find-file-suppress-same-file-warnings t)" \
           --eval "(setq make-backup-files nil)" \
           -f w32-batch-update-autoloads $(lisp)/calendar/hol-loaddefs.el \
!             $(MAKE) ./calendar
  
  # Update MH-E internal autoloads. These are not to be confused with
  # the autoloads for the MH-E entry points, which are already in
***************
*** 403,409 ****
           --eval $(ARGQUOTE)(setq find-file-suppress-same-file-warnings 
t)$(ARGQUOTE) \
           --eval $(ARGQUOTE)(setq make-backup-files nil)$(ARGQUOTE) \
           -f w32-batch-update-autoloads \
!          $(ARGQUOTE)$(lisp)/mh-e/mh-loaddefs.el$(ARGQUOTE) ./mh-e
  
  # Prepare a bootstrap in the lisp subdirectory.
  #
--- 403,409 ----
           --eval $(ARGQUOTE)(setq find-file-suppress-same-file-warnings 
t)$(ARGQUOTE) \
           --eval $(ARGQUOTE)(setq make-backup-files nil)$(ARGQUOTE) \
           -f w32-batch-update-autoloads \
!          $(ARGQUOTE)$(lisp)/mh-e/mh-loaddefs.el$(ARGQUOTE) $(MAKE) ./mh-e
  
  # Prepare a bootstrap in the lisp subdirectory.
  #




reply via email to

[Prev in Thread] Current Thread [Next in Thread]