aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog10
-rw-r--r--lisp/Makefile.in24
2 files changed, 23 insertions, 11 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 2dbd981d8d5..ba2046e15b4 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,13 @@
12013-10-23 Glenn Morris <rgm@gnu.org>
2
3 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4 (emacs, compile, compile-always):
5 Quote entities that might contain whitespace.
6 (custom-deps, finder-data, autoloads): Use abs_lisp.
7 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
10
12013-10-23 Dmitry Gutov <dgutov@yandex.ru> 112013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2 12
3 * progmodes/ruby-mode.el (ruby-smie--at-dot-call): Use 13 * progmodes/ruby-mode.el (ruby-smie--at-dot-call): Use
diff --git a/lisp/Makefile.in b/lisp/Makefile.in
index 4fba1053dfa..814aefc0cc0 100644
--- a/lisp/Makefile.in
+++ b/lisp/Makefile.in
@@ -20,8 +20,10 @@
20SHELL = @SHELL@ 20SHELL = @SHELL@
21 21
22srcdir = @srcdir@ 22srcdir = @srcdir@
23abs_srcdir = @abs_srcdir@
23top_srcdir = @top_srcdir@ 24top_srcdir = @top_srcdir@
24abs_top_builddir = @abs_top_builddir@ 25abs_top_builddir = @abs_top_builddir@
26abs_lisp = $(abs_srcdir)
25lisp = $(srcdir) 27lisp = $(srcdir)
26VPATH = $(srcdir) 28VPATH = $(srcdir)
27 29
@@ -112,7 +114,7 @@ COMPILE_FIRST = \
112 114
113# The actual Emacs command run in the targets below. 115# The actual Emacs command run in the targets below.
114 116
115emacs = EMACSLOADPATH=$(lisp) LC_ALL=C $(EMACS) $(EMACSOPT) 117emacs = EMACSLOADPATH="$(abs_lisp)" LC_ALL=C "$(EMACS)" $(EMACSOPT)
116 118
117# Common command to find subdirectories 119# Common command to find subdirectories
118setwins=subdirs=`find . -type d -print`; \ 120setwins=subdirs=`find . -type d -print`; \
@@ -165,14 +167,14 @@ $(lisp)/cus-load.el:
165custom-deps: doit 167custom-deps: doit
166 cd $(lisp); $(setwins_almost); \ 168 cd $(lisp); $(setwins_almost); \
167 echo Directories: $$wins; \ 169 echo Directories: $$wins; \
168 $(emacs) -l cus-dep --eval '(setq generated-custom-dependencies-file (unmsys--file-name "$(lisp)/cus-load.el"))' -f custom-make-dependencies $$wins 170 $(emacs) -l cus-dep --eval '(setq generated-custom-dependencies-file (unmsys--file-name "$(abs_lisp)/cus-load.el"))' -f custom-make-dependencies $$wins
169 171
170$(lisp)/finder-inf.el: 172$(lisp)/finder-inf.el:
171 $(MAKE) $(MFLAGS) finder-data 173 $(MAKE) $(MFLAGS) finder-data
172finder-data: doit 174finder-data: doit
173 cd $(lisp); $(setwins_almost); \ 175 cd $(lisp); $(setwins_almost); \
174 echo Directories: $$wins; \ 176 echo Directories: $$wins; \
175 $(emacs) -l finder --eval '(setq generated-finder-keywords-file (unmsys--file-name "$(lisp)/finder-inf.el"))' -f finder-compile-keywords-make-dist $$wins 177 $(emacs) -l finder --eval '(setq generated-finder-keywords-file (unmsys--file-name "$(abs_lisp)/finder-inf.el"))' -f finder-compile-keywords-make-dist $$wins
176 178
177# The chmod +w is to handle env var CVSREAD=1. 179# The chmod +w is to handle env var CVSREAD=1.
178autoloads: $(LOADDEFS) doit 180autoloads: $(LOADDEFS) doit
@@ -181,7 +183,7 @@ autoloads: $(LOADDEFS) doit
181 echo Directories: $$wins; \ 183 echo Directories: $$wins; \
182 $(emacs) -l autoload \ 184 $(emacs) -l autoload \
183 --eval '(setq autoload-builtin-package-versions t)' \ 185 --eval '(setq autoload-builtin-package-versions t)' \
184 --eval '(setq generated-autoload-file (unmsys--file-name "$(lisp)/loaddefs.el"))' \ 186 --eval '(setq generated-autoload-file (unmsys--file-name "$(abs_lisp)/loaddefs.el"))' \
185 -f batch-update-autoloads $$wins 187 -f batch-update-autoloads $$wins
186 188
187# This is required by the bootstrap-emacs target in ../src/Makefile, so 189# This is required by the bootstrap-emacs target in ../src/Makefile, so
@@ -307,14 +309,14 @@ compile-clean:
307# Explicitly pass EMACS (sometimes ../src/bootstrap-emacs) to those 309# Explicitly pass EMACS (sometimes ../src/bootstrap-emacs) to those
308# sub-makes that run rules that use it, for the sake of some non-GNU makes. 310# sub-makes that run rules that use it, for the sake of some non-GNU makes.
309compile: $(LOADDEFS) autoloads compile-first 311compile: $(LOADDEFS) autoloads compile-first
310 $(MAKE) $(MFLAGS) compile-main EMACS=$(EMACS) 312 $(MAKE) $(MFLAGS) compile-main EMACS="$(EMACS)"
311 313
312# Compile all Lisp files. This is like `compile' but compiles files 314# Compile all Lisp files. This is like `compile' but compiles files
313# unconditionally. Some files don't actually get compiled because they 315# unconditionally. Some files don't actually get compiled because they
314# set the local variable no-byte-compile. 316# set the local variable no-byte-compile.
315compile-always: doit 317compile-always: doit
316 cd $(lisp); rm -f *.elc */*.elc */*/*.elc */*/*/*.elc 318 cd $(lisp); rm -f *.elc */*.elc */*/*.elc */*/*/*.elc
317 $(MAKE) $(MFLAGS) compile EMACS=$(EMACS) 319 $(MAKE) $(MFLAGS) compile EMACS="$(EMACS)"
318 320
319.PHONY: compile-calc backup-compiled-files compile-after-backup 321.PHONY: compile-calc backup-compiled-files compile-after-backup
320 322
@@ -378,7 +380,7 @@ mh-autoloads: $(MH_E_DIR)/mh-loaddefs.el
378$(MH_E_DIR)/mh-loaddefs.el: $(MH_E_SRC) 380$(MH_E_DIR)/mh-loaddefs.el: $(MH_E_SRC)
379 $(emacs) -l autoload \ 381 $(emacs) -l autoload \
380 --eval "(setq generate-autoload-cookie \";;;###mh-autoload\")" \ 382 --eval "(setq generate-autoload-cookie \";;;###mh-autoload\")" \
381 --eval "(setq generated-autoload-file (unmsys--file-name \"$@\"))" \ 383 --eval "(setq generated-autoload-file (unmsys--file-name (expand-file-name \"$@\")))" \
382 --eval "(setq make-backup-files nil)" \ 384 --eval "(setq make-backup-files nil)" \
383 -f batch-update-autoloads $(MH_E_DIR) 385 -f batch-update-autoloads $(MH_E_DIR)
384 386
@@ -396,7 +398,7 @@ TRAMP_SRC = $(TRAMP_DIR)/tramp.el $(TRAMP_DIR)/tramp-adb.el \
396$(TRAMP_DIR)/tramp-loaddefs.el: $(TRAMP_SRC) 398$(TRAMP_DIR)/tramp-loaddefs.el: $(TRAMP_SRC)
397 $(emacs) -l autoload \ 399 $(emacs) -l autoload \
398 --eval "(setq generate-autoload-cookie \";;;###tramp-autoload\")" \ 400 --eval "(setq generate-autoload-cookie \";;;###tramp-autoload\")" \
399 --eval "(setq generated-autoload-file (unmsys--file-name \"$@\"))" \ 401 --eval "(setq generated-autoload-file (unmsys--file-name (expand-file-name \"$@\")))" \
400 --eval "(setq make-backup-files nil)" \ 402 --eval "(setq make-backup-files nil)" \
401 -f batch-update-autoloads $(TRAMP_DIR) 403 -f batch-update-autoloads $(TRAMP_DIR)
402 404
@@ -418,21 +420,21 @@ CAL_SRC = $(CAL_DIR)/cal-bahai.el $(CAL_DIR)/cal-china.el \
418$(CAL_DIR)/cal-loaddefs.el: $(CAL_SRC) 420$(CAL_DIR)/cal-loaddefs.el: $(CAL_SRC)
419 $(emacs) -l autoload \ 421 $(emacs) -l autoload \
420 --eval "(setq generate-autoload-cookie \";;;###cal-autoload\")" \ 422 --eval "(setq generate-autoload-cookie \";;;###cal-autoload\")" \
421 --eval "(setq generated-autoload-file (unmsys--file-name \"$@\"))" \ 423 --eval "(setq generated-autoload-file (unmsys--file-name (expand-file-name \"$@\")))" \
422 --eval "(setq make-backup-files nil)" \ 424 --eval "(setq make-backup-files nil)" \
423 -f batch-update-autoloads $(CAL_DIR) 425 -f batch-update-autoloads $(CAL_DIR)
424 426
425$(CAL_DIR)/diary-loaddefs.el: $(CAL_SRC) 427$(CAL_DIR)/diary-loaddefs.el: $(CAL_SRC)
426 $(emacs) -l autoload \ 428 $(emacs) -l autoload \
427 --eval "(setq generate-autoload-cookie \";;;###diary-autoload\")" \ 429 --eval "(setq generate-autoload-cookie \";;;###diary-autoload\")" \
428 --eval "(setq generated-autoload-file (unmsys--file-name \"$@\"))" \ 430 --eval "(setq generated-autoload-file (unmsys--file-name (expand-file-name \"$@\")))" \
429 --eval "(setq make-backup-files nil)" \ 431 --eval "(setq make-backup-files nil)" \
430 -f batch-update-autoloads $(CAL_DIR) 432 -f batch-update-autoloads $(CAL_DIR)
431 433
432$(CAL_DIR)/hol-loaddefs.el: $(CAL_SRC) 434$(CAL_DIR)/hol-loaddefs.el: $(CAL_SRC)
433 $(emacs) -l autoload \ 435 $(emacs) -l autoload \
434 --eval "(setq generate-autoload-cookie \";;;###holiday-autoload\")" \ 436 --eval "(setq generate-autoload-cookie \";;;###holiday-autoload\")" \
435 --eval "(setq generated-autoload-file (unmsys--file-name \"$@\"))" \ 437 --eval "(setq generated-autoload-file (unmsys--file-name (expand-file-name \"$@\")))" \
436 --eval "(setq make-backup-files nil)" \ 438 --eval "(setq make-backup-files nil)" \
437 -f batch-update-autoloads $(CAL_DIR) 439 -f batch-update-autoloads $(CAL_DIR)
438 440