diff options
| author | Andreas Schwab | 2008-04-22 09:34:02 +0000 |
|---|---|---|
| committer | Andreas Schwab | 2008-04-22 09:34:02 +0000 |
| commit | 125891f4388a7023bafa664a7fc5c0d0b708db87 (patch) | |
| tree | 59774d81062355ccf5b3bcee1d6050c282082388 | |
| parent | ae67f2d0c00a7f8d23cf057f3ff9bafffbe41275 (diff) | |
| download | emacs-125891f4388a7023bafa664a7fc5c0d0b708db87.tar.gz emacs-125891f4388a7023bafa664a7fc5c0d0b708db87.zip | |
(emacs-deps): Define. Use it instead of
$(lisp)/subdirs.el.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/Makefile.in | 22 |
2 files changed, 17 insertions, 10 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5bedc23fcbb..b5050cd67a7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2008-04-22 Andreas Schwab <schwab@suse.de> | ||
| 2 | |||
| 3 | * Makefile.in (emacs-deps): Define. Use it instead of | ||
| 4 | $(lisp)/subdirs.el. | ||
| 5 | |||
| 1 | 2008-04-22 Dan Nicolaescu <dann@ics.uci.edu> | 6 | 2008-04-22 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 7 | ||
| 3 | * vc.el (vc-next-action): Do not consider directories when | 8 | * vc.el (vc-next-action): Do not consider directories when |
diff --git a/lisp/Makefile.in b/lisp/Makefile.in index 4ed0fd76d1d..396f39f80d7 100644 --- a/lisp/Makefile.in +++ b/lisp/Makefile.in | |||
| @@ -80,6 +80,8 @@ COMPILE_FIRST = \ | |||
| 80 | # The actual Emacs command run in the targets below. | 80 | # The actual Emacs command run in the targets below. |
| 81 | 81 | ||
| 82 | emacs = EMACSLOADPATH=$(lisp) LC_ALL=C $(EMACS) $(EMACSOPT) | 82 | emacs = EMACSLOADPATH=$(lisp) LC_ALL=C $(EMACS) $(EMACSOPT) |
| 83 | # Prerequisites for running $(emacs) | ||
| 84 | emacs-deps = $(lisp)/subdirs.el | ||
| 83 | 85 | ||
| 84 | # Common command to find subdirectories | 86 | # Common command to find subdirectories |
| 85 | 87 | ||
| @@ -107,17 +109,17 @@ $(lisp)/cus-load.el: | |||
| 107 | # than on loaddefs.el, so that autoloads does not run in parallel with | 109 | # than on loaddefs.el, so that autoloads does not run in parallel with |
| 108 | # them under "make -j", because that could delete loaddefs.el from | 110 | # them under "make -j", because that could delete loaddefs.el from |
| 109 | # under their feet. | 111 | # under their feet. |
| 110 | custom-deps: $(lisp)/subdirs.el autoloads $(lisp)/cus-load.el doit | 112 | custom-deps: $(emacs-deps) autoloads $(lisp)/cus-load.el doit |
| 111 | wd=$(lisp); $(setwins_almost); \ | 113 | wd=$(lisp); $(setwins_almost); \ |
| 112 | echo Directories: $$wins; \ | 114 | echo Directories: $$wins; \ |
| 113 | $(emacs) -l cus-dep --eval '(setq generated-custom-dependencies-file "$(lisp)/cus-load.el")' -f custom-make-dependencies $$wins | 115 | $(emacs) -l cus-dep --eval '(setq generated-custom-dependencies-file "$(lisp)/cus-load.el")' -f custom-make-dependencies $$wins |
| 114 | 116 | ||
| 115 | finder-data: $(lisp)/subdirs.el autoloads doit | 117 | finder-data: $(emacs-deps) autoloads doit |
| 116 | wd=$(lisp); $(setwins_almost); \ | 118 | wd=$(lisp); $(setwins_almost); \ |
| 117 | echo Directories: $$wins; \ | 119 | echo Directories: $$wins; \ |
| 118 | $(emacs) -l finder --eval '(setq generated-finder-keywords-file "$(lisp)/finder-inf.el")' -f finder-compile-keywords-make-dist $$wins | 120 | $(emacs) -l finder --eval '(setq generated-finder-keywords-file "$(lisp)/finder-inf.el")' -f finder-compile-keywords-make-dist $$wins |
| 119 | 121 | ||
| 120 | autoloads: $(lisp)/subdirs.el $(LOADDEFS) doit | 122 | autoloads: $(emacs-deps) $(LOADDEFS) doit |
| 121 | wd=$(lisp); $(setwins_almost); \ | 123 | wd=$(lisp); $(setwins_almost); \ |
| 122 | echo Directories: $$wins; \ | 124 | echo Directories: $$wins; \ |
| 123 | $(emacs) -l autoload --eval '(setq generated-autoload-file "$(lisp)/loaddefs.el")' -f batch-update-autoloads $$wins | 125 | $(emacs) -l autoload --eval '(setq generated-autoload-file "$(lisp)/loaddefs.el")' -f batch-update-autoloads $$wins |
| @@ -152,7 +154,7 @@ TAGS-LISP: $(lisptagsfiles1) $(lisptagsfiles2) | |||
| 152 | 154 | ||
| 153 | .SUFFIXES: .elc .el | 155 | .SUFFIXES: .elc .el |
| 154 | 156 | ||
| 155 | .el.elc: $(lisp)/subdirs.el | 157 | .el.elc: $(emacs-deps) |
| 156 | -$(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $< | 158 | -$(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $< |
| 157 | 159 | ||
| 158 | # Compile all Lisp files, but don't recompile those that are up to | 160 | # Compile all Lisp files, but don't recompile those that are up to |
| @@ -169,7 +171,7 @@ TAGS-LISP: $(lisptagsfiles1) $(lisptagsfiles2) | |||
| 169 | 171 | ||
| 170 | # `|| true' below prevents old Bash versions from getting confused | 172 | # `|| true' below prevents old Bash versions from getting confused |
| 171 | # by an error. | 173 | # by an error. |
| 172 | compile: $(lisp)/subdirs.el $(LOADDEFS) doit | 174 | compile: $(emacs-deps) $(LOADDEFS) doit |
| 173 | find $(lisp) -name "*.elc" -print | xargs chmod +w >/dev/null 2>&1 || true; \ | 175 | find $(lisp) -name "*.elc" -print | xargs chmod +w >/dev/null 2>&1 || true; \ |
| 174 | wd=$(lisp); $(setwins); \ | 176 | wd=$(lisp); $(setwins); \ |
| 175 | els=`echo $$wins | tr ' \011' '\012\012' | \ | 177 | els=`echo $$wins | tr ' \011' '\012\012' | \ |
| @@ -186,7 +188,7 @@ compile: $(lisp)/subdirs.el $(LOADDEFS) doit | |||
| 186 | # unconditionally. Some files don't actually get compiled because they | 188 | # unconditionally. Some files don't actually get compiled because they |
| 187 | # set the local variable no-byte-compile. | 189 | # set the local variable no-byte-compile. |
| 188 | 190 | ||
| 189 | compile-always: $(lisp)/subdirs.el $(LOADDEFS) doit | 191 | compile-always: $(emacs-deps) $(LOADDEFS) doit |
| 190 | # `|| true' prevents old Bash versions from getting confused | 192 | # `|| true' prevents old Bash versions from getting confused |
| 191 | # by an error. | 193 | # by an error. |
| 192 | find $(lisp) -name "*.elc" -print | xargs chmod +w >/dev/null 2>&1 || true; \ | 194 | find $(lisp) -name "*.elc" -print | xargs chmod +w >/dev/null 2>&1 || true; \ |
| @@ -252,7 +254,7 @@ MH_E_SRC = $(MH_E_DIR)/mh-acros.el $(MH_E_DIR)/mh-alias.el \ | |||
| 252 | $(MH_E_DIR)/mh-xface.el | 254 | $(MH_E_DIR)/mh-xface.el |
| 253 | 255 | ||
| 254 | mh-autoloads: $(MH_E_DIR)/mh-loaddefs.el | 256 | mh-autoloads: $(MH_E_DIR)/mh-loaddefs.el |
| 255 | $(MH_E_DIR)/mh-loaddefs.el: $(lisp)/subdirs.el $(MH_E_SRC) | 257 | $(MH_E_DIR)/mh-loaddefs.el: $(emacs-deps) $(MH_E_SRC) |
| 256 | $(emacs) -l autoload \ | 258 | $(emacs) -l autoload \ |
| 257 | --eval "(setq generate-autoload-cookie \";;;###mh-autoload\")" \ | 259 | --eval "(setq generate-autoload-cookie \";;;###mh-autoload\")" \ |
| 258 | --eval "(setq generated-autoload-file \"$@\")" \ | 260 | --eval "(setq generated-autoload-file \"$@\")" \ |
| @@ -274,21 +276,21 @@ CAL_SRC = $(CAL_DIR)/cal-bahai.el $(CAL_DIR)/cal-china.el \ | |||
| 274 | $(CAL_DIR)/holidays.el $(CAL_DIR)/lunar.el \ | 276 | $(CAL_DIR)/holidays.el $(CAL_DIR)/lunar.el \ |
| 275 | $(CAL_DIR)/solar.el | 277 | $(CAL_DIR)/solar.el |
| 276 | 278 | ||
| 277 | $(CAL_DIR)/cal-loaddefs.el: $(lisp)/subdirs.el $(CAL_SRC) | 279 | $(CAL_DIR)/cal-loaddefs.el: $(emacs-deps) $(CAL_SRC) |
| 278 | $(emacs) -l autoload \ | 280 | $(emacs) -l autoload \ |
| 279 | --eval "(setq generate-autoload-cookie \";;;###cal-autoload\")" \ | 281 | --eval "(setq generate-autoload-cookie \";;;###cal-autoload\")" \ |
| 280 | --eval "(setq generated-autoload-file \"$@\")" \ | 282 | --eval "(setq generated-autoload-file \"$@\")" \ |
| 281 | --eval "(setq make-backup-files nil)" \ | 283 | --eval "(setq make-backup-files nil)" \ |
| 282 | -f batch-update-autoloads $(CAL_DIR) | 284 | -f batch-update-autoloads $(CAL_DIR) |
| 283 | 285 | ||
| 284 | $(CAL_DIR)/diary-loaddefs.el: $(lisp)/subdirs.el $(CAL_SRC) | 286 | $(CAL_DIR)/diary-loaddefs.el: $(emacs-deps) $(CAL_SRC) |
| 285 | $(emacs) -l autoload \ | 287 | $(emacs) -l autoload \ |
| 286 | --eval "(setq generate-autoload-cookie \";;;###diary-autoload\")" \ | 288 | --eval "(setq generate-autoload-cookie \";;;###diary-autoload\")" \ |
| 287 | --eval "(setq generated-autoload-file \"$@\")" \ | 289 | --eval "(setq generated-autoload-file \"$@\")" \ |
| 288 | --eval "(setq make-backup-files nil)" \ | 290 | --eval "(setq make-backup-files nil)" \ |
| 289 | -f batch-update-autoloads $(CAL_DIR) | 291 | -f batch-update-autoloads $(CAL_DIR) |
| 290 | 292 | ||
| 291 | $(CAL_DIR)/hol-loaddefs.el: $(lisp)/subdirs.el $(CAL_SRC) | 293 | $(CAL_DIR)/hol-loaddefs.el: $(emacs-deps) $(CAL_SRC) |
| 292 | $(emacs) -l autoload \ | 294 | $(emacs) -l autoload \ |
| 293 | --eval "(setq generate-autoload-cookie \";;;###holiday-autoload\")" \ | 295 | --eval "(setq generate-autoload-cookie \";;;###holiday-autoload\")" \ |
| 294 | --eval "(setq generated-autoload-file \"$@\")" \ | 296 | --eval "(setq generated-autoload-file \"$@\")" \ |