Mercurial > emacs
comparison lisp/makefile.w32-in @ 56151:9ef25bd8db0d
Double percent signs in for loops.
author | Jason Rumney <jasonr@gnu.org> |
---|---|
date | Fri, 18 Jun 2004 21:06:29 +0000 |
parents | bb6720f21c54 |
children | d341e83af4f2 4c90ffeb71c5 |
comparison
equal
deleted
inserted
replaced
56150:52798bcd26d1 | 56151:9ef25bd8db0d |
---|---|
235 update-subdirs-CMD: doit | 235 update-subdirs-CMD: doit |
236 echo ;; -*- no-byte-compile: t -*->subdirs.el | 236 echo ;; -*- no-byte-compile: t -*->subdirs.el |
237 echo ;; In load-path, after this directory should come>> subdirs.el | 237 echo ;; In load-path, after this directory should come>> subdirs.el |
238 echo ;; certain of its subdirectories. Here we specify them.>> subdirs.el | 238 echo ;; certain of its subdirectories. Here we specify them.>> subdirs.el |
239 echo (normal-top-level-add-to-load-path $(SQUOTE)(>> subdirs.el | 239 echo (normal-top-level-add-to-load-path $(SQUOTE)(>> subdirs.el |
240 @for %d in ($(WINS)) do if not (%d)==(term) echo "%d">> subdirs.el | 240 @for %%d in ($(WINS)) do if not (%%d)==(term) echo "%%d">> subdirs.el |
241 echo ))>> subdirs.el | 241 echo ))>> subdirs.el |
242 | 242 |
243 update-subdirs-SH: doit | 243 update-subdirs-SH: doit |
244 $(srcdir)/update-subdirs $(lisp); \ | 244 $(srcdir)/update-subdirs $(lisp); \ |
245 for file in $(WINS); do \ | 245 for file in $(WINS); do \ |
280 | 280 |
281 # Need separate version for sh and native cmd.exe | 281 # Need separate version for sh and native cmd.exe |
282 compile: subdirs.el compile-$(SHELLTYPE) doit | 282 compile: subdirs.el compile-$(SHELLTYPE) doit |
283 | 283 |
284 compile-CMD: | 284 compile-CMD: |
285 # -for %f in ($(lisp) $(WINS)) do for %g in (%f\*.elc) do @attrib -r %g | 285 # -for %%f in ($(lisp) $(WINS)) do for %%g in (%%f\*.elc) do @attrib -r %%g |
286 for %f in ($(COMPILE_FIRST)) do \ | 286 for %%f in ($(COMPILE_FIRST)) do \ |
287 $(emacs) -l loaddefs -f batch-byte-compile-if-not-done %f | 287 $(emacs) -l loaddefs -f batch-byte-compile-if-not-done %%f |
288 for %f in (. $(WINS)) do for %g in (%f/*.el) do \ | 288 for %%f in (. $(WINS)) do for %%g in (%%f/*.el) do \ |
289 $(emacs) -l loaddefs -f batch-byte-compile-if-not-done %f/%g | 289 $(emacs) -l loaddefs -f batch-byte-compile-if-not-done %%f/%%g |
290 | 290 |
291 compile-SH: | 291 compile-SH: |
292 # for elc in $(lisp)/*.elc $(lisp)/*/*.elc; do attrib -r $$elc; done | 292 # for elc in $(lisp)/*.elc $(lisp)/*/*.elc; do attrib -r $$elc; done |
293 for el in $(COMPILE_FIRST); do \ | 293 for el in $(COMPILE_FIRST); do \ |
294 echo Compiling $$el; \ | 294 echo Compiling $$el; \ |
307 # Compile all Lisp files, except those from DONTCOMPILE. This | 307 # Compile all Lisp files, except those from DONTCOMPILE. This |
308 # is like `compile' but compiles files unconditionally. | 308 # is like `compile' but compiles files unconditionally. |
309 compile-always: subdirs.el compile-always-$(SHELLTYPE) doit | 309 compile-always: subdirs.el compile-always-$(SHELLTYPE) doit |
310 | 310 |
311 compile-always-CMD: | 311 compile-always-CMD: |
312 # -for %f in ($(lisp) $(WINS)) do for %g in (%f\*.elc) do @attrib -r %g | 312 # -for %%f in ($(lisp) $(WINS)) do for %%g in (%%f\*.elc) do @attrib -r %%g |
313 for %f in ($(COMPILE_FIRST)) do $(emacs) -f batch-byte-compile %f | 313 for %%f in ($(COMPILE_FIRST)) do $(emacs) -f batch-byte-compile %%f |
314 for %f in (. $(WINS)) do for %g in (%f/*.el) do $(emacs) -f batch-byte-compile %f/%g | 314 for %%f in (. $(WINS)) do for %%g in (%%f/*.el) do $(emacs) -f batch-byte-compile %%f/%%g |
315 | 315 |
316 compile-always-SH: | 316 compile-always-SH: |
317 # for elc in $(lisp)/*.elc $(lisp)/*/*.elc; do attrib -r $$elc; done | 317 # for elc in $(lisp)/*.elc $(lisp)/*/*.elc; do attrib -r $$elc; done |
318 for el in $(COMPILE_FIRST); do \ | 318 for el in $(COMPILE_FIRST); do \ |
319 echo Compiling $$el; \ | 319 echo Compiling $$el; \ |
327 done | 327 done |
328 | 328 |
329 compile-calc: compile-calc-$(SHELLTYPE) | 329 compile-calc: compile-calc-$(SHELLTYPE) |
330 | 330 |
331 compile-calc-CMD: | 331 compile-calc-CMD: |
332 for %f in ($(lisp)/calc/*.el) do $(emacs) -f batch-byte-compile %f | 332 for %%f in ($(lisp)/calc/*.el) do $(emacs) -f batch-byte-compile %%f |
333 | 333 |
334 compile-calc-SH: | 334 compile-calc-SH: |
335 for el in $(lisp)/calc/*.el; do \ | 335 for el in $(lisp)/calc/*.el; do \ |
336 echo Compiling $$el; \ | 336 echo Compiling $$el; \ |
337 $(emacs) -f batch-byte-compile $$el || exit 1; \ | 337 $(emacs) -f batch-byte-compile $$el || exit 1; \ |
372 bootstrap-clean: bootstrap-clean-$(SHELLTYPE) loaddefs.el | 372 bootstrap-clean: bootstrap-clean-$(SHELLTYPE) loaddefs.el |
373 | 373 |
374 bootstrap-clean-CMD: | 374 bootstrap-clean-CMD: |
375 # if exist $(EMACS) $(MAKE) $(MFLAGS) autoloads | 375 # if exist $(EMACS) $(MAKE) $(MFLAGS) autoloads |
376 if not exist $(lisp)\loaddefs.el cp $(lisp)/ldefs-boot.el $(lisp)/loaddefs.el | 376 if not exist $(lisp)\loaddefs.el cp $(lisp)/ldefs-boot.el $(lisp)/loaddefs.el |
377 -for %f in (. $(WINS)) do for %g in (%f\*.elc) do @$(DEL) %g | 377 -for %%f in (. $(WINS)) do for %%g in (%%f\*.elc) do @$(DEL) %%g |
378 | 378 |
379 bootstrap-clean-SH: | 379 bootstrap-clean-SH: |
380 # if test -f $(EMACS); then $(MAKE) $(MFLAGS) autoloads; fi | 380 # if test -f $(EMACS); then $(MAKE) $(MFLAGS) autoloads; fi |
381 # -rm -f $(lisp)/*.elc $(lisp)/*/*.elc | 381 # -rm -f $(lisp)/*.elc $(lisp)/*/*.elc |
382 if ! test -r $(lisp)/loaddefs.el; then \ | 382 if ! test -r $(lisp)/loaddefs.el; then \ |