aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2008-04-05 18:52:02 +0000
committerGlenn Morris2008-04-05 18:52:02 +0000
commit099659f94e7f0e02fbc642d1ed0778e8a036469f (patch)
treeef32c36d4cb29178c6aa86b5e1a306883eea41f7
parent5ec993427a38630a5a23a4b09345a6a5009cf037 (diff)
downloademacs-099659f94e7f0e02fbc642d1ed0778e8a036469f.tar.gz
emacs-099659f94e7f0e02fbc642d1ed0778e8a036469f.zip
(LOADDEFS): Add mh-loaddefs.el.
(AUTOGENEL): mh-loaddefs is in $LOADDEFS now. (compile, compile-always, recompile): Use $LOADDEFS. ($(lisp)/mh-e/mh-loaddefs.el): Simplify rule now that autoload-ensure-default-file provides a feature. (cal-autoloads): Remove.
-rw-r--r--lisp/Makefile.in29
1 files changed, 6 insertions, 23 deletions
diff --git a/lisp/Makefile.in b/lisp/Makefile.in
index 5601307f2d4..c81b85dfd97 100644
--- a/lisp/Makefile.in
+++ b/lisp/Makefile.in
@@ -48,7 +48,9 @@ ETAGS = ../lib-src/etags
48 48
49# Automatically generated autoload files, apart from lisp/loaddefs.el. 49# Automatically generated autoload files, apart from lisp/loaddefs.el.
50LOADDEFS = $(lisp)/calendar/cal-loaddefs.el \ 50LOADDEFS = $(lisp)/calendar/cal-loaddefs.el \
51 $(lisp)/calendar/diary-loaddefs.el $(lisp)/calendar/hol-loaddefs.el 51 $(lisp)/calendar/diary-loaddefs.el \
52 $(lisp)/calendar/hol-loaddefs.el \
53 $(lisp)/mh-e/mh-loaddefs.el
52 54
53# Elisp files auto-generated. 55# Elisp files auto-generated.
54AUTOGENEL = loaddefs.el \ 56AUTOGENEL = loaddefs.el \
@@ -57,7 +59,6 @@ AUTOGENEL = loaddefs.el \
57 finder-inf.el \ 59 finder-inf.el \
58 subdirs.el \ 60 subdirs.el \
59 eshell/esh-groups.el \ 61 eshell/esh-groups.el \
60 mh-e/mh-loaddefs.el
61 62
62# Files to compile before others during a bootstrap. This is done to 63# Files to compile before others during a bootstrap. This is done to
63# speed up the bootstrap process. The CC files are compiled first 64# speed up the bootstrap process. The CC files are compiled first
@@ -162,7 +163,7 @@ TAGS-LISP: $(lisptagsfiles1) $(lisptagsfiles2)
162 163
163# `|| true' below prevents old Bash versions from getting confused 164# `|| true' below prevents old Bash versions from getting confused
164# by an error. 165# by an error.
165compile: $(lisp)/subdirs.el mh-autoloads cal-autoloads doit 166compile: $(lisp)/subdirs.el $(LOADDEFS) doit
166 find $(lisp) -name "*.elc" -print | xargs chmod +w >/dev/null 2>&1 || true; \ 167 find $(lisp) -name "*.elc" -print | xargs chmod +w >/dev/null 2>&1 || true; \
167 wd=$(lisp); $(setwins); \ 168 wd=$(lisp); $(setwins); \
168 els=`echo $$wins | tr ' \011' '\012\012' | \ 169 els=`echo $$wins | tr ' \011' '\012\012' | \
@@ -179,7 +180,7 @@ compile: $(lisp)/subdirs.el mh-autoloads cal-autoloads doit
179# unconditionally. Some files don't actually get compiled because they 180# unconditionally. Some files don't actually get compiled because they
180# set the local variable no-byte-compile. 181# set the local variable no-byte-compile.
181 182
182compile-always: $(lisp)/subdirs.el mh-autoloads cal-autoloads doit 183compile-always: $(lisp)/subdirs.el $(LOADDEFS) doit
183 # `|| true' prevents old Bash versions from getting confused 184 # `|| true' prevents old Bash versions from getting confused
184 # by an error. 185 # by an error.
185 find $(lisp) -name "*.elc" -print | xargs chmod +w >/dev/null 2>&1 || true; \ 186 find $(lisp) -name "*.elc" -print | xargs chmod +w >/dev/null 2>&1 || true; \
@@ -214,7 +215,7 @@ compile-after-backup: backup-compiled-files compile-always
214# Recompile all Lisp files which are newer than their .elc files and compile 215# Recompile all Lisp files which are newer than their .elc files and compile
215# new ones. 216# new ones.
216 217
217recompile: doit mh-autoloads cal-autoloads $(lisp)/progmodes/cc-mode.elc 218recompile: doit $(LOADDEFS) $(lisp)/progmodes/cc-mode.elc
218 $(emacs) --eval "(batch-byte-recompile-directory 0)" $(lisp) 219 $(emacs) --eval "(batch-byte-recompile-directory 0)" $(lisp)
219 220
220# CC Mode uses a compile time macro system which causes a compile time 221# CC Mode uses a compile time macro system which causes a compile time
@@ -230,30 +231,12 @@ $(lisp)/progmodes/cc-mode.elc: \
230# the autoloads for the MH-E entry points, which are already in loaddefs.el. 231# the autoloads for the MH-E entry points, which are already in loaddefs.el.
231mh-autoloads: $(lisp)/mh-e/mh-loaddefs.el 232mh-autoloads: $(lisp)/mh-e/mh-loaddefs.el
232$(lisp)/mh-e/mh-loaddefs.el: $(lisp)/subdirs.el 233$(lisp)/mh-e/mh-loaddefs.el: $(lisp)/subdirs.el
233## The only non-standard part of this is the provide.
234## All these echos can be removed if mh-e.el changes to use
235## (load "mh-loaddefs" nil 'quiet).
236 echo ";;; mh-loaddefs.el --- automatically extracted autoloads" > $@
237 echo ";;" >> $@
238 echo ";;; Code:" >> $@
239 echo " " >> $@
240 echo "(provide 'mh-loaddefs)" >> $@
241 echo ";; Local Variables:" >> $@
242 echo ";; version-control: never" >> $@
243 echo ";; no-byte-compile: t" >> $@
244 echo ";; no-update-autoloads: t" >> $@
245 echo ";; End:" >> $@
246 echo ";;; mh-loaddefs.el ends here" >> $@
247 $(emacs) -l autoload \ 234 $(emacs) -l autoload \
248 --eval "(setq generate-autoload-cookie \";;;###mh-autoload\")" \ 235 --eval "(setq generate-autoload-cookie \";;;###mh-autoload\")" \
249 --eval "(setq generated-autoload-file \"$@\")" \ 236 --eval "(setq generated-autoload-file \"$@\")" \
250 --eval "(setq make-backup-files nil)" \ 237 --eval "(setq make-backup-files nil)" \
251 -f batch-update-autoloads $(lisp)/mh-e 238 -f batch-update-autoloads $(lisp)/mh-e
252 239
253cal-autoloads: $(lisp)/calendar/cal-loaddefs.el \
254 $(lisp)/calendar/diary-loaddefs.el \
255 $(lisp)/calendar/hol-loaddefs.el
256
257$(lisp)/calendar/cal-loaddefs.el: $(lisp)/calendar/*.el 240$(lisp)/calendar/cal-loaddefs.el: $(lisp)/calendar/*.el
258 $(emacs) -l autoload \ 241 $(emacs) -l autoload \
259 --eval "(setq generate-autoload-cookie \";;;###cal-autoload\")" \ 242 --eval "(setq generate-autoload-cookie \";;;###cal-autoload\")" \