aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2006-11-08 01:12:58 +0000
committerJuanma Barranquero2006-11-08 01:12:58 +0000
commit3aeca4ac4d8b112ccf842917769468fc14e790f9 (patch)
tree2fae6e2c5e019bb8d459d60a2da2cd632c195156
parent2dc07a1273fe9057a4c934dc8474fd0432213455 (diff)
downloademacs-3aeca4ac4d8b112ccf842917769468fc14e790f9.tar.gz
emacs-3aeca4ac4d8b112ccf842917769468fc14e790f9.zip
(setwins): Remove.
(WINS_ALMOST): New macro. (WINS): Use it. (autoloads): Don't extract autoloads from files in obsolete/.
-rw-r--r--lisp/makefile.w32-in19
1 files changed, 6 insertions, 13 deletions
diff --git a/lisp/makefile.w32-in b/lisp/makefile.w32-in
index 6c5a68d9ec7..8acdde52670 100644
--- a/lisp/makefile.w32-in
+++ b/lisp/makefile.w32-in
@@ -67,17 +67,8 @@ COMPILE_FIRST = \
67 67
68emacs = "$(EMACS)" $(EMACSOPT) 68emacs = "$(EMACS)" $(EMACSOPT)
69 69
70# Common command to find subdirectories
71
72setwins=subdirs=`find $$wd -type d -print`; \
73 for file in $$subdirs; do \
74 case $$file in */Old | */RCS | */CVS | */CVS/* | */=* ) ;; \
75 *) wins="$$wins $$file" ;; \
76 esac; \
77 done
78
79# Have to define the list of subdirs manually when not using sh. 70# Have to define the list of subdirs manually when not using sh.
80WINS=\ 71WINS_ALMOST=\
81 calc \ 72 calc \
82 calendar \ 73 calendar \
83 emacs-lisp \ 74 emacs-lisp \
@@ -90,13 +81,15 @@ WINS=\
90 mail \ 81 mail \
91 mh-e \ 82 mh-e \
92 net \ 83 net \
93 obsolete \
94 play \ 84 play \
95 progmodes \ 85 progmodes \
96 term \ 86 term \
97 textmodes \ 87 textmodes \
98 url 88 url
99 89
90WINS= $(WINS_ALMOST) \
91 obsolete
92
100doit: 93doit:
101 94
102$(lisp)/cus-load.el: 95$(lisp)/cus-load.el:
@@ -160,10 +153,10 @@ loaddefs.el-CMD:
160# WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as 153# WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
161# this can break with GNU Make 3.81 and later if sh.exe is used. 154# this can break with GNU Make 3.81 and later if sh.exe is used.
162autoloads: $(lisp)/loaddefs.el doit 155autoloads: $(lisp)/loaddefs.el doit
163 @echo Directories: . $(WINS) 156 @echo Directories: . $(WINS_ALMOST)
164 $(emacs) -l autoload \ 157 $(emacs) -l autoload \
165 --eval $(ARGQUOTE)(setq find-file-hook nil find-file-suppress-same-file-warnings t)$(ARGQUOTE) \ 158 --eval $(ARGQUOTE)(setq find-file-hook nil find-file-suppress-same-file-warnings t)$(ARGQUOTE) \
166 -f w32-batch-update-autoloads "$(lisp)/loaddefs.el" . $(WINS) 159 -f w32-batch-update-autoloads "$(lisp)/loaddefs.el" . $(WINS_ALMOST)
167 160
168$(lisp)/subdirs.el: 161$(lisp)/subdirs.el:
169 $(MAKE) $(MFLAGS) update-subdirs 162 $(MAKE) $(MFLAGS) update-subdirs