aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2009-10-07 09:31:32 +0000
committerJuanma Barranquero2009-10-07 09:31:32 +0000
commit8c4afe20dfec48f260319c2cb0919c511a14920f (patch)
treea57daaad025dbb85b1c5be779853072ed0f3d975
parentee2e93e2c23dc195c81a8c1127e8945a651c9485 (diff)
downloademacs-8c4afe20dfec48f260319c2cb0919c511a14920f.tar.gz
emacs-8c4afe20dfec48f260319c2cb0919c511a14920f.zip
* makefile.w32-in (WINS_UPDATES): New macro.
(custom-deps, finder-data, autoloads): Use it.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/makefile.w32-in22
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 @@
12009-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
12009-10-07 Glenn Morris <rgm@gnu.org> 62009-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
121WINS_ALMOST=$(WINS_BASIC) \ 122WINS_ALMOST=$(WINS_BASIC) \
122 $(WINS_CEDET) 123 $(WINS_CEDET)
123 124
125# Directories to extract data from (customs, autoloads, etc.)
126WINS_UPDATES=$(WIN_ALMOST) \
127 $(WINS_CEDET_SUBDIRS)
128
129# Directories to add to subdirs.el
124WINS_SUBDIR=$(WINS_BASIC) \ 130WINS_SUBDIR=$(WINS_BASIC) \
125 obsolete 131 obsolete
126 132
133# All directories, except CEDET subdirs
127WINS= $(WINS_ALMOST) \ 134WINS= $(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.
160custom-deps: $(lisp)/cus-load.el $(lisp)/loaddefs.el doit 167custom-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
164finder-data: $(lisp)/loaddefs.el doit 172finder-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.
205autoloads: $(lisp)/loaddefs.el $(LOADDEFS) doit 213autoloads: $(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:
423bootstrap-clean-SH: 431bootstrap-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