176 |
$(srcdir)/update-subdirs $$file; \ |
$(srcdir)/update-subdirs $$file; \ |
177 |
done; |
done; |
178 |
|
|
179 |
updates: update-subdirs autoloads finder-data custom-deps |
updates: update-subdirs autoloads mh-autoloads finder-data custom-deps |
180 |
|
|
181 |
# Update the AUTHORS file. |
# Update the AUTHORS file. |
182 |
|
|
207 |
# compiled find the right files. |
# compiled find the right files. |
208 |
|
|
209 |
# Need separate version for sh and native cmd.exe |
# Need separate version for sh and native cmd.exe |
210 |
compile: subdirs.el compile-$(SHELLTYPE) doit |
compile: subdirs.el mh-autoloads compile-$(SHELLTYPE) doit |
211 |
|
|
212 |
compile-CMD: |
compile-CMD: |
213 |
# -for %%f in ($(lisp) $(WINS)) do for %%g in (%%f\*.elc) do @attrib -r %%g |
# -for %%f in ($(lisp) $(WINS)) do for %%g in (%%f\*.elc) do @attrib -r %%g |
282 |
# Note that this doesn't create .elc files. It only recompiles if an |
# Note that this doesn't create .elc files. It only recompiles if an |
283 |
# .elc is present. |
# .elc is present. |
284 |
|
|
285 |
recompile: doit |
recompile: mh-autoloads doit |
286 |
$(emacs) -f batch-byte-recompile-directory $(lisp) |
$(emacs) -f batch-byte-recompile-directory $(lisp) |
287 |
|
|
288 |
|
# Update MH-E internal autoloads. These are not to be confused with |
289 |
|
# the autoloads for the MH-E entry points, which are already in |
290 |
|
# loaddefs.el. |
291 |
|
MH-E-SRC = $(lisp)/mh-e/mh-acros.el $(lisp)/mh-e/mh-alias.el \ |
292 |
|
$(lisp)/mh-e/mh-comp.el $(lisp)/mh-e/mh-customize.el \ |
293 |
|
$(lisp)/mh-e/mh-e.el $(lisp)/mh-e/mh-funcs.el \ |
294 |
|
$(lisp)/mh-e/mh-mime.el $(lisp)/mh-e/mh-pick.el \ |
295 |
|
$(lisp)/mh-e/mh-print.el $(lisp)/mh-e/mh-inc.el \ |
296 |
|
$(lisp)/mh-e/mh-init.el $(lisp)/mh-e/mh-index.el \ |
297 |
|
$(lisp)/mh-e/mh-identity.el $(lisp)/mh-e/mh-junk.el \ |
298 |
|
$(lisp)/mh-e/mh-seq.el $(lisp)/mh-e/mh-speed.el \ |
299 |
|
$(lisp)/mh-e/mh-utils.el |
300 |
|
|
301 |
|
mh-autoloads: $(lisp)/mh-e/mh-loaddefs.el |
302 |
|
$(lisp)/mh-e/mh-loaddefs.el: $(MH-E-SRC) |
303 |
|
echo ";;; mh-loaddefs.el --- automatically extracted autoloads" > $@ |
304 |
|
echo ";;" >> $@ |
305 |
|
echo ";;; Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc." >> $@ |
306 |
|
echo ";;; Author: Bill Wohler <wohler@newt.com>" >> $@ |
307 |
|
echo ";;; Keywords: mail" >> $@ |
308 |
|
echo ";;; Commentary:" >> $@ |
309 |
|
echo ";;; Change Log:" >> $@ |
310 |
|
echo ";;; Code:" >> $@ |
311 |
|
$(EMACS) $(EMACSOPT) \ |
312 |
|
-l autoload \ |
313 |
|
--eval "(setq generate-autoload-cookie \";;;###mh-autoload\")" \ |
314 |
|
--eval "(setq generated-autoload-file \"$(lisp)/mh-e/mh-loaddefs.el\")" \ |
315 |
|
--eval "(setq make-backup-files nil)" \ |
316 |
|
-f batch-update-autoloads $(lisp)/mh-e |
317 |
|
echo "" >> $@ |
318 |
|
echo "(provide 'mh-loaddefs)" >> $@ |
319 |
|
echo ";;; Local Variables:" >> $@ |
320 |
|
echo ";;; version-control: never" >> $@ |
321 |
|
echo ";;; no-byte-compile: t" >> $@ |
322 |
|
echo ";;; no-update-autoloads: t" >> $@ |
323 |
|
echo ";;; End:" >> $@ |
324 |
|
echo ";;; mh-loaddefs.el ends here" >> $@ |
325 |
|
|
326 |
# Prepare a bootstrap in the lisp subdirectory. |
# Prepare a bootstrap in the lisp subdirectory. |
327 |
# |
# |
328 |
# Build loaddefs.el to make sure it's up-to-date. If it's not, that |
# Build loaddefs.el to make sure it's up-to-date. If it's not, that |
354 |
# When done, remove bootstrap-emacs from ../bin, so that |
# When done, remove bootstrap-emacs from ../bin, so that |
355 |
# it will not be mistaken for an installed binary. |
# it will not be mistaken for an installed binary. |
356 |
|
|
357 |
bootstrap: update-subdirs autoloads compile finder-data custom-deps |
bootstrap: update-subdirs autoloads mh-autoloads compile finder-data custom-deps |
358 |
- $(DEL) $(EMACS) |
- $(DEL) $(EMACS) |
359 |
|
|
360 |
# |
# |