diff options
| author | Glenn Morris | 2007-08-19 00:24:55 +0000 |
|---|---|---|
| committer | Glenn Morris | 2007-08-19 00:24:55 +0000 |
| commit | 7de61ce2d7a4600b35fb4fa5094f538aa9df2548 (patch) | |
| tree | 24d372b400caecefe6be885e23fecb1d5fd45399 | |
| parent | a2d1720359e119558bd1505b34e8076ef13bac0b (diff) | |
| download | emacs-7de61ce2d7a4600b35fb4fa5094f538aa9df2548.tar.gz emacs-7de61ce2d7a4600b35fb4fa5094f538aa9df2548.zip | |
(custom-deps, finder-data, autoloads, recompile)
(progmodes/cc-mode.elc, mh-e/mh-loaddefs.el): Use $(emacs) rather
than $(EMACS), so that EMACSLOADPATH is set. Prevents any system
shadow files messing up the compilation.
| -rw-r--r-- | lisp/Makefile.in | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/Makefile.in b/lisp/Makefile.in index 81d7b1d184d..59a81d7799d 100644 --- a/lisp/Makefile.in +++ b/lisp/Makefile.in | |||
| @@ -90,12 +90,12 @@ $(lisp)/cus-load.el: | |||
| 90 | custom-deps: $(lisp)/subdirs.el $(lisp)/loaddefs.el $(lisp)/cus-load.el doit | 90 | custom-deps: $(lisp)/subdirs.el $(lisp)/loaddefs.el $(lisp)/cus-load.el doit |
| 91 | wd=$(lisp); $(setwins_almost); \ | 91 | wd=$(lisp); $(setwins_almost); \ |
| 92 | echo Directories: $$wins; \ | 92 | echo Directories: $$wins; \ |
| 93 | $(EMACS) $(EMACSOPT) -l cus-dep --eval '(setq generated-custom-dependencies-file "$(lisp)/cus-load.el")' -f custom-make-dependencies $$wins | 93 | $(emacs) -l cus-dep --eval '(setq generated-custom-dependencies-file "$(lisp)/cus-load.el")' -f custom-make-dependencies $$wins |
| 94 | 94 | ||
| 95 | finder-data: $(lisp)/subdirs.el $(lisp)/loaddefs.el doit | 95 | finder-data: $(lisp)/subdirs.el $(lisp)/loaddefs.el doit |
| 96 | wd=$(lisp); $(setwins_almost); \ | 96 | wd=$(lisp); $(setwins_almost); \ |
| 97 | echo Directories: $$wins; \ | 97 | echo Directories: $$wins; \ |
| 98 | $(EMACS) $(EMACSOPT) -l finder --eval '(setq generated-finder-keywords-file "$(lisp)/finder-inf.el")' -f finder-compile-keywords-make-dist $$wins | 98 | $(emacs) -l finder --eval '(setq generated-finder-keywords-file "$(lisp)/finder-inf.el")' -f finder-compile-keywords-make-dist $$wins |
| 99 | 99 | ||
| 100 | $(lisp)/loaddefs.el: | 100 | $(lisp)/loaddefs.el: |
| 101 | echo ";;; loaddefs.el --- automatically extracted autoloads" >> $@ | 101 | echo ";;; loaddefs.el --- automatically extracted autoloads" >> $@ |
| @@ -110,7 +110,7 @@ $(lisp)/loaddefs.el: | |||
| 110 | autoloads: $(lisp)/subdirs.el $(lisp)/loaddefs.el doit | 110 | autoloads: $(lisp)/subdirs.el $(lisp)/loaddefs.el doit |
| 111 | wd=$(lisp); $(setwins_almost); \ | 111 | wd=$(lisp); $(setwins_almost); \ |
| 112 | echo Directories: $$wins; \ | 112 | echo Directories: $$wins; \ |
| 113 | $(EMACS) $(EMACSOPT) -l autoload --eval '(setq generated-autoload-file "$(lisp)/loaddefs.el")' -f batch-update-autoloads $$wins | 113 | $(emacs) -l autoload --eval '(setq generated-autoload-file "$(lisp)/loaddefs.el")' -f batch-update-autoloads $$wins |
| 114 | 114 | ||
| 115 | $(lisp)/subdirs.el: | 115 | $(lisp)/subdirs.el: |
| 116 | $(MAKE) $(MFLAGS) update-subdirs | 116 | $(MAKE) $(MFLAGS) update-subdirs |
| @@ -210,7 +210,7 @@ compile-after-backup: backup-compiled-files compile-always | |||
| 210 | # new ones. | 210 | # new ones. |
| 211 | 211 | ||
| 212 | recompile: doit mh-autoloads $(lisp)/progmodes/cc-mode.elc | 212 | recompile: doit mh-autoloads $(lisp)/progmodes/cc-mode.elc |
| 213 | $(EMACS) $(EMACSOPT) --eval "(batch-byte-recompile-directory 0)" $(lisp) | 213 | $(emacs) --eval "(batch-byte-recompile-directory 0)" $(lisp) |
| 214 | 214 | ||
| 215 | # CC Mode uses a compile time macro system which causes a compile time | 215 | # CC Mode uses a compile time macro system which causes a compile time |
| 216 | # dependency in cc-mode.elc on the macros in cc-langs.el and the | 216 | # dependency in cc-mode.elc on the macros in cc-langs.el and the |
| @@ -219,7 +219,7 @@ $(lisp)/progmodes/cc-mode.elc: \ | |||
| 219 | $(lisp)/progmodes/cc-mode.el \ | 219 | $(lisp)/progmodes/cc-mode.el \ |
| 220 | $(lisp)/progmodes/cc-langs.el \ | 220 | $(lisp)/progmodes/cc-langs.el \ |
| 221 | $(lisp)/progmodes/cc-defs.el | 221 | $(lisp)/progmodes/cc-defs.el |
| 222 | $(EMACS) $(EMACSOPT) -f batch-byte-compile $(lisp)/progmodes/cc-mode.el | 222 | $(emacs) -f batch-byte-compile $(lisp)/progmodes/cc-mode.el |
| 223 | 223 | ||
| 224 | # Update MH-E internal autoloads. These are not to be confused with | 224 | # Update MH-E internal autoloads. These are not to be confused with |
| 225 | # the autoloads for the MH-E entry points, which are already in | 225 | # the autoloads for the MH-E entry points, which are already in |
| @@ -256,7 +256,7 @@ $(lisp)/mh-e/mh-loaddefs.el: $(lisp)/subdirs.el $(MH_E_SRC) | |||
| 256 | echo ";; no-update-autoloads: t" >> $@ | 256 | echo ";; no-update-autoloads: t" >> $@ |
| 257 | echo ";; End:" >> $@ | 257 | echo ";; End:" >> $@ |
| 258 | echo ";;; mh-loaddefs.el ends here" >> $@ | 258 | echo ";;; mh-loaddefs.el ends here" >> $@ |
| 259 | $(EMACS) $(EMACSOPT) \ | 259 | $(emacs) \ |
| 260 | -l autoload \ | 260 | -l autoload \ |
| 261 | --eval "(setq generate-autoload-cookie \";;;###mh-autoload\")" \ | 261 | --eval "(setq generate-autoload-cookie \";;;###mh-autoload\")" \ |
| 262 | --eval "(setq generated-autoload-file \"$(lisp)/mh-e/mh-loaddefs.el\")" \ | 262 | --eval "(setq generated-autoload-file \"$(lisp)/mh-e/mh-loaddefs.el\")" \ |