# HG changeset patch # User Juanma Barranquero # Date 1254907892 0 # Node ID 33c51c8b86b512817b692799f525e063936d065a # Parent 7f17857bf0eb780045aef4cdff394533262ecc43 * makefile.w32-in (WINS_UPDATES): New macro. (custom-deps, finder-data, autoloads): Use it. diff -r 7f17857bf0eb -r 33c51c8b86b5 lisp/ChangeLog --- a/lisp/ChangeLog Wed Oct 07 07:19:07 2009 +0000 +++ b/lisp/ChangeLog Wed Oct 07 09:31:32 2009 +0000 @@ -1,3 +1,8 @@ +2009-10-07 Juanma Barranquero + + * makefile.w32-in (WINS_UPDATES): New macro. + (custom-deps, finder-data, autoloads): Use it. + 2009-10-07 Glenn Morris * Makefile.in (autoloads): Revert previous change. diff -r 7f17857bf0eb -r 33c51c8b86b5 lisp/makefile.w32-in --- a/lisp/makefile.w32-in Wed Oct 07 07:19:07 2009 +0000 +++ b/lisp/makefile.w32-in Wed Oct 07 09:31:32 2009 +0000 @@ -118,12 +118,19 @@ textmodes \ url +# Directories with lisp files to compile WINS_ALMOST=$(WINS_BASIC) \ $(WINS_CEDET) +# Directories to extract data from (customs, autoloads, etc.) +WINS_UPDATES=$(WIN_ALMOST) \ + $(WINS_CEDET_SUBDIRS) + +# Directories to add to subdirs.el WINS_SUBDIR=$(WINS_BASIC) \ obsolete +# All directories, except CEDET subdirs WINS= $(WINS_ALMOST) \ term \ obsolete @@ -158,12 +165,13 @@ # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as # this can break with GNU Make 3.81 and later if sh.exe is used. custom-deps: $(lisp)/cus-load.el $(lisp)/loaddefs.el doit - @echo Directories: $(WINS_ALMOST) - -$(emacs) -l cus-dep --eval $(ARGQUOTE)(setq find-file-hook nil)$(ARGQUOTE) -f custom-make-dependencies $(lisp) $(WINS_ALMOST) + @echo Directories: $(WINS_UPDATES) + -$(emacs) -l cus-dep --eval $(ARGQUOTE)(setq find-file-hook nil)$(ARGQUOTE) \ + -f custom-make-dependencies $(lisp) $(WINS_UPDATES) finder-data: $(lisp)/loaddefs.el doit - @echo Directories: $(WINS_ALMOST) - $(emacs) -l finder -f finder-compile-keywords-make-dist $(lisp) $(WINS_ALMOST) + @echo Directories: $(WINS_UPDATES) + $(emacs) -l finder -f finder-compile-keywords-make-dist $(lisp) $(WINS_UPDATES) $(lisp)/loaddefs.el: $(MAKE) $(MFLAGS) loaddefs.el-$(SHELLTYPE) @@ -203,10 +211,10 @@ # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as # this can break with GNU Make 3.81 and later if sh.exe is used. autoloads: $(lisp)/loaddefs.el $(LOADDEFS) doit - @echo Directories: . $(WINS_ALMOST) + @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_ALMOST) + -f w32-batch-update-autoloads "$(lisp)/loaddefs.el" . $(WINS_UPDATES) $(lisp)/subdirs.el: $(MAKE) $(MFLAGS) update-subdirs @@ -423,7 +431,7 @@ bootstrap-clean-SH: # if test -f "$(EMACS)"; then $(MAKE) $(MFLAGS) autoloads; fi # -rm -f $(lisp)/*.elc $(lisp)/*/*.elc - -for dir in . $(WINS) $(WINS_CEDET_SUBDIRS); do rm -f $$dir/*.elc $$dir/*/*.elc $$dir/*/*/*.elc; done + -for dir in . $(WINS) $(WINS_CEDET_SUBDIRS); do rm -f $$dir/*.elc $$dir/*/*.elc $$dir/*/*/*.elc; done # Generate/update files for the bootstrap process. # When done, remove bootstrap-emacs from ../bin, so that