diff options
| author | Juanma Barranquero | 2009-10-07 09:31:32 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2009-10-07 09:31:32 +0000 |
| commit | 8c4afe20dfec48f260319c2cb0919c511a14920f (patch) | |
| tree | a57daaad025dbb85b1c5be779853072ed0f3d975 | |
| parent | ee2e93e2c23dc195c81a8c1127e8945a651c9485 (diff) | |
| download | emacs-8c4afe20dfec48f260319c2cb0919c511a14920f.tar.gz emacs-8c4afe20dfec48f260319c2cb0919c511a14920f.zip | |
* makefile.w32-in (WINS_UPDATES): New macro.
(custom-deps, finder-data, autoloads): Use it.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/makefile.w32-in | 22 |
2 files changed, 20 insertions, 7 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d6610f6e34b..cf0fab71488 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2009-10-07 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * makefile.w32-in (WINS_UPDATES): New macro. | ||
| 4 | (custom-deps, finder-data, autoloads): Use it. | ||
| 5 | |||
| 1 | 2009-10-07 Glenn Morris <rgm@gnu.org> | 6 | 2009-10-07 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * Makefile.in (autoloads): Revert previous change. | 8 | * Makefile.in (autoloads): Revert previous change. |
diff --git a/lisp/makefile.w32-in b/lisp/makefile.w32-in index ed1b8906fec..591678d5127 100644 --- a/lisp/makefile.w32-in +++ b/lisp/makefile.w32-in | |||
| @@ -118,12 +118,19 @@ WINS_BASIC=\ | |||
| 118 | textmodes \ | 118 | textmodes \ |
| 119 | url | 119 | url |
| 120 | 120 | ||
| 121 | # Directories with lisp files to compile | ||
| 121 | WINS_ALMOST=$(WINS_BASIC) \ | 122 | WINS_ALMOST=$(WINS_BASIC) \ |
| 122 | $(WINS_CEDET) | 123 | $(WINS_CEDET) |
| 123 | 124 | ||
| 125 | # Directories to extract data from (customs, autoloads, etc.) | ||
| 126 | WINS_UPDATES=$(WIN_ALMOST) \ | ||
| 127 | $(WINS_CEDET_SUBDIRS) | ||
| 128 | |||
| 129 | # Directories to add to subdirs.el | ||
| 124 | WINS_SUBDIR=$(WINS_BASIC) \ | 130 | WINS_SUBDIR=$(WINS_BASIC) \ |
| 125 | obsolete | 131 | obsolete |
| 126 | 132 | ||
| 133 | # All directories, except CEDET subdirs | ||
| 127 | WINS= $(WINS_ALMOST) \ | 134 | WINS= $(WINS_ALMOST) \ |
| 128 | term \ | 135 | term \ |
| 129 | obsolete | 136 | obsolete |
| @@ -158,12 +165,13 @@ $(lisp)/cus-load.el: | |||
| 158 | # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as | 165 | # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as |
| 159 | # this can break with GNU Make 3.81 and later if sh.exe is used. | 166 | # this can break with GNU Make 3.81 and later if sh.exe is used. |
| 160 | custom-deps: $(lisp)/cus-load.el $(lisp)/loaddefs.el doit | 167 | custom-deps: $(lisp)/cus-load.el $(lisp)/loaddefs.el doit |
| 161 | @echo Directories: $(WINS_ALMOST) | 168 | @echo Directories: $(WINS_UPDATES) |
| 162 | -$(emacs) -l cus-dep --eval $(ARGQUOTE)(setq find-file-hook nil)$(ARGQUOTE) -f custom-make-dependencies $(lisp) $(WINS_ALMOST) | 169 | -$(emacs) -l cus-dep --eval $(ARGQUOTE)(setq find-file-hook nil)$(ARGQUOTE) \ |
| 170 | -f custom-make-dependencies $(lisp) $(WINS_UPDATES) | ||
| 163 | 171 | ||
| 164 | finder-data: $(lisp)/loaddefs.el doit | 172 | finder-data: $(lisp)/loaddefs.el doit |
| 165 | @echo Directories: $(WINS_ALMOST) | 173 | @echo Directories: $(WINS_UPDATES) |
| 166 | $(emacs) -l finder -f finder-compile-keywords-make-dist $(lisp) $(WINS_ALMOST) | 174 | $(emacs) -l finder -f finder-compile-keywords-make-dist $(lisp) $(WINS_UPDATES) |
| 167 | 175 | ||
| 168 | $(lisp)/loaddefs.el: | 176 | $(lisp)/loaddefs.el: |
| 169 | $(MAKE) $(MFLAGS) loaddefs.el-$(SHELLTYPE) | 177 | $(MAKE) $(MFLAGS) loaddefs.el-$(SHELLTYPE) |
| @@ -203,10 +211,10 @@ loaddefs.el-CMD: | |||
| 203 | # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as | 211 | # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as |
| 204 | # this can break with GNU Make 3.81 and later if sh.exe is used. | 212 | # this can break with GNU Make 3.81 and later if sh.exe is used. |
| 205 | autoloads: $(lisp)/loaddefs.el $(LOADDEFS) doit | 213 | autoloads: $(lisp)/loaddefs.el $(LOADDEFS) doit |
| 206 | @echo Directories: . $(WINS_ALMOST) | 214 | @echo Directories: . $(WINS_UPDATES) |
| 207 | $(emacs) -l autoload \ | 215 | $(emacs) -l autoload \ |
| 208 | --eval $(ARGQUOTE)(setq find-file-hook nil find-file-suppress-same-file-warnings t)$(ARGQUOTE) \ | 216 | --eval $(ARGQUOTE)(setq find-file-hook nil find-file-suppress-same-file-warnings t)$(ARGQUOTE) \ |
| 209 | -f w32-batch-update-autoloads "$(lisp)/loaddefs.el" . $(WINS_ALMOST) | 217 | -f w32-batch-update-autoloads "$(lisp)/loaddefs.el" . $(WINS_UPDATES) |
| 210 | 218 | ||
| 211 | $(lisp)/subdirs.el: | 219 | $(lisp)/subdirs.el: |
| 212 | $(MAKE) $(MFLAGS) update-subdirs | 220 | $(MAKE) $(MFLAGS) update-subdirs |
| @@ -423,7 +431,7 @@ bootstrap-clean-CMD: | |||
| 423 | bootstrap-clean-SH: | 431 | bootstrap-clean-SH: |
| 424 | # if test -f "$(EMACS)"; then $(MAKE) $(MFLAGS) autoloads; fi | 432 | # if test -f "$(EMACS)"; then $(MAKE) $(MFLAGS) autoloads; fi |
| 425 | # -rm -f $(lisp)/*.elc $(lisp)/*/*.elc | 433 | # -rm -f $(lisp)/*.elc $(lisp)/*/*.elc |
| 426 | -for dir in . $(WINS) $(WINS_CEDET_SUBDIRS); do rm -f $$dir/*.elc $$dir/*/*.elc $$dir/*/*/*.elc; done | 434 | -for dir in . $(WINS) $(WINS_CEDET_SUBDIRS); do rm -f $$dir/*.elc $$dir/*/*.elc $$dir/*/*/*.elc; done |
| 427 | 435 | ||
| 428 | # Generate/update files for the bootstrap process. | 436 | # Generate/update files for the bootstrap process. |
| 429 | # When done, remove bootstrap-emacs from ../bin, so that | 437 | # When done, remove bootstrap-emacs from ../bin, so that |