Mercurial > emacs
annotate lisp/makefile.w32-in @ 73995:11025612f889
(code_convert_region): Initialize
coding->heading_ascii.
(decode_coding_string, code_convert_region): Likewise.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Tue, 14 Nov 2006 10:39:58 +0000 |
parents | 46d85206101d |
children | ce127a46b1ca dbe3f29e61d6 |
rev | line source |
---|---|
55092
9077e3f7cd49
Add "-*- makefile -*-" mode tag.
Juanma Barranquero <lekktu@gmail.com>
parents:
55064
diff
changeset
|
1 # -*- Makefile -*- for GNU Emacs on the Microsoft W32 API. |
64769
6358e3c6075c
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64091
diff
changeset
|
2 # Copyright (C) 2000, 2001, 2002, 2003, 2004, |
6358e3c6075c
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64091
diff
changeset
|
3 # 2005 Free Software Foundation, Inc. |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
4 # |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
5 # This file is part of GNU Emacs. |
47727
53a1d514b214
Add "no-byte-compile: t" to subdirs.el.
Juanma Barranquero <lekktu@gmail.com>
parents:
47039
diff
changeset
|
6 # |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
7 # GNU Emacs is free software; you can redistribute it and/or modify |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
8 # it under the terms of the GNU General Public License as published by |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
9 # the Free Software Foundation; either version 2, or (at your option) |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
10 # any later version. |
47727
53a1d514b214
Add "no-byte-compile: t" to subdirs.el.
Juanma Barranquero <lekktu@gmail.com>
parents:
47039
diff
changeset
|
11 # |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
12 # GNU Emacs is distributed in the hope that it will be useful, |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
15 # GNU General Public License for more details. |
47727
53a1d514b214
Add "no-byte-compile: t" to subdirs.el.
Juanma Barranquero <lekktu@gmail.com>
parents:
47039
diff
changeset
|
16 # |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
17 # You should have received a copy of the GNU General Public License |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
18 # along with GNU Emacs; see the file COPYING. If not, write to the |
64091 | 19 # Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
20 # Boston, MA 02110-1301, USA. | |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
21 # |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
22 |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
23 ALL = |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
24 |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
25 all: $(ALL) |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
26 |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
27 SQUOTE=' |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
28 # ' |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
29 |
34273
f719938c6d2e
(lisp): Set to an absolute directory, namely
Andrew Innes <andrewi@gnu.org>
parents:
33904
diff
changeset
|
30 lisp = $(CURDIR) |
46629
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
31 srcdir = $(CURDIR)/.. |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
32 |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
33 # You can specify a different executable on the make command line, |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
34 # e.g. "make EMACS=../src/emacs ...". |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
35 |
71163
b1bc5d576c4c
(EMACS): Remove quotes from the Emacs executable file name.
Eli Zaretskii <eliz@gnu.org>
parents:
68467
diff
changeset
|
36 EMACS = $(THISDIR)/../bin/emacs.exe |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
37 |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
38 # Command line flags for Emacs. This must include --multibyte, |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
39 # otherwise some files will not compile. |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
40 |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
41 EMACSOPT = -batch --no-init-file --no-site-file --multibyte |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
42 |
37384 | 43 # Set EMACSLOADPATH correctly (already defined in environment). |
44 EMACSLOADPATH=$(lisp) | |
45 | |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
46 lisptagsfiles1 = $(lisp)/*.el |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
47 lisptagsfiles2 = $(lisp)/*/*.el |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
48 ETAGS = "../lib-src/$(BLD)/etags" |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
49 |
36918
b485ed237672
(COMPILE_FIRST): Add cc-mode.el
Gerd Moellmann <gerd@gnu.org>
parents:
36378
diff
changeset
|
50 # Files to compile before others during a bootstrap. This is done to |
b485ed237672
(COMPILE_FIRST): Add cc-mode.el
Gerd Moellmann <gerd@gnu.org>
parents:
36378
diff
changeset
|
51 # speed up the bootstrap process. The CC files are compiled first |
b485ed237672
(COMPILE_FIRST): Add cc-mode.el
Gerd Moellmann <gerd@gnu.org>
parents:
36378
diff
changeset
|
52 # because CC mode tweaks the compilation process, and requiring |
b485ed237672
(COMPILE_FIRST): Add cc-mode.el
Gerd Moellmann <gerd@gnu.org>
parents:
36378
diff
changeset
|
53 # cc-mode when it is not compiled doesn't work during the |
b485ed237672
(COMPILE_FIRST): Add cc-mode.el
Gerd Moellmann <gerd@gnu.org>
parents:
36378
diff
changeset
|
54 # bootstrapping. |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
55 |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
56 COMPILE_FIRST = \ |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
57 $(lisp)/emacs-lisp/byte-opt.el \ |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
58 $(lisp)/emacs-lisp/bytecomp.el \ |
36918
b485ed237672
(COMPILE_FIRST): Add cc-mode.el
Gerd Moellmann <gerd@gnu.org>
parents:
36378
diff
changeset
|
59 $(lisp)/subr.el \ |
b485ed237672
(COMPILE_FIRST): Add cc-mode.el
Gerd Moellmann <gerd@gnu.org>
parents:
36378
diff
changeset
|
60 $(lisp)/progmodes/cc-mode.el \ |
b485ed237672
(COMPILE_FIRST): Add cc-mode.el
Gerd Moellmann <gerd@gnu.org>
parents:
36378
diff
changeset
|
61 $(lisp)/progmodes/cc-vars.el |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
62 |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
63 # The actual Emacs command run in the targets below. |
71163
b1bc5d576c4c
(EMACS): Remove quotes from the Emacs executable file name.
Eli Zaretskii <eliz@gnu.org>
parents:
68467
diff
changeset
|
64 # The quotes around $(EMACS) are here because the user could type |
b1bc5d576c4c
(EMACS): Remove quotes from the Emacs executable file name.
Eli Zaretskii <eliz@gnu.org>
parents:
68467
diff
changeset
|
65 # it with forward slashes and without quotes, which will fail if |
b1bc5d576c4c
(EMACS): Remove quotes from the Emacs executable file name.
Eli Zaretskii <eliz@gnu.org>
parents:
68467
diff
changeset
|
66 # the shell is cmd.exe. |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
67 |
71163
b1bc5d576c4c
(EMACS): Remove quotes from the Emacs executable file name.
Eli Zaretskii <eliz@gnu.org>
parents:
68467
diff
changeset
|
68 emacs = "$(EMACS)" $(EMACSOPT) |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
69 |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
70 # Have to define the list of subdirs manually when not using sh. |
73817 | 71 WINS_ALMOST=\ |
47039
f89ca946d5c2
(WINS): Add calc and obsolete.
Juanma Barranquero <lekktu@gmail.com>
parents:
46781
diff
changeset
|
72 calc \ |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
73 calendar \ |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
74 emacs-lisp \ |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
75 emulation \ |
68467 | 76 erc \ |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
77 eshell \ |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
78 gnus \ |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
79 international \ |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
80 language \ |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
81 mail \ |
49459
06b77df47802
* mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents:
49259
diff
changeset
|
82 mh-e \ |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
83 net \ |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
84 play \ |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
85 progmodes \ |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
86 term \ |
44165
32c2b878dabd
(WINS): Add the toolbar directory.
Juanma Barranquero <lekktu@gmail.com>
parents:
40753
diff
changeset
|
87 textmodes \ |
55064
215f0bc58b67
(WINS): Add url/ directory.
Juanma Barranquero <lekktu@gmail.com>
parents:
53015
diff
changeset
|
88 url |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
89 |
73817 | 90 WINS= $(WINS_ALMOST) \ |
91 obsolete | |
92 | |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
93 doit: |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
94 |
66160
172dcc84fa71
Use $(lisp) when referencing files in the lisp directory.
Jason Rumney <jasonr@gnu.org>
parents:
66159
diff
changeset
|
95 $(lisp)/cus-load.el: |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
96 touch $@ |
67640
8b927f8d61a2
(autoloads, custom-deps): Warn that parts of commands enclosed in $(ARGQUOTE)s
Eli Zaretskii <eliz@gnu.org>
parents:
66385
diff
changeset
|
97 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as |
8b927f8d61a2
(autoloads, custom-deps): Warn that parts of commands enclosed in $(ARGQUOTE)s
Eli Zaretskii <eliz@gnu.org>
parents:
66385
diff
changeset
|
98 # this can break with GNU Make 3.81 and later if sh.exe is used. |
66160
172dcc84fa71
Use $(lisp) when referencing files in the lisp directory.
Jason Rumney <jasonr@gnu.org>
parents:
66159
diff
changeset
|
99 custom-deps: $(lisp)/cus-load.el doit |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
100 @echo Directories: $(WINS) |
57797
dc994538d85a
(custom-deps, autoloads): Fix *-hooks -> *-hook.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
56512
diff
changeset
|
101 -$(emacs) -l cus-dep --eval $(ARGQUOTE)(setq find-file-hook nil)$(ARGQUOTE) -f custom-make-dependencies $(lisp) $(WINS) |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
102 |
46629
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
103 finder-data: doit |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
104 @echo Directories: $(WINS) |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
105 $(emacs) -l finder -f finder-compile-keywords-make-dist $(lisp) $(WINS) |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
106 |
66160
172dcc84fa71
Use $(lisp) when referencing files in the lisp directory.
Jason Rumney <jasonr@gnu.org>
parents:
66159
diff
changeset
|
107 $(lisp)/loaddefs.el: |
49259
d6211ef9bbb4
(loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents:
47727
diff
changeset
|
108 $(MAKE) $(MFLAGS) loaddefs.el-$(SHELLTYPE) |
d6211ef9bbb4
(loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents:
47727
diff
changeset
|
109 cp loaddefs.el-$(SHELLTYPE) $@ |
d6211ef9bbb4
(loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents:
47727
diff
changeset
|
110 rm loaddefs.el-$(SHELLTYPE) |
d6211ef9bbb4
(loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents:
47727
diff
changeset
|
111 |
d6211ef9bbb4
(loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents:
47727
diff
changeset
|
112 loaddefs.el-SH: |
d6211ef9bbb4
(loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents:
47727
diff
changeset
|
113 echo ";;; loaddefs.el --- automatically extracted autoloads" > $@ |
d6211ef9bbb4
(loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents:
47727
diff
changeset
|
114 echo ";;" >> $@; echo ";;; Code:" >> $@ |
d6211ef9bbb4
(loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents:
47727
diff
changeset
|
115 echo "(autoload 'define-minor-mode \"easy-mmode\")" >>$@ |
d6211ef9bbb4
(loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents:
47727
diff
changeset
|
116 echo "(autoload 'define-ccl-program \"ccl\")" >>$@ |
d6211ef9bbb4
(loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents:
47727
diff
changeset
|
117 echo "(autoload 'regexp-opt \"regexp-opt\")" >>$@ |
d6211ef9bbb4
(loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents:
47727
diff
changeset
|
118 echo "(autoload 'string-to-list \"mule-util\")" >>$@ |
d6211ef9bbb4
(loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents:
47727
diff
changeset
|
119 echo "(autoload 'define-derived-mode \"derived\")" >>$@ |
d6211ef9bbb4
(loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents:
47727
diff
changeset
|
120 echo "(autoload 'encoded-kbd-mode \"encoded-kb\")" >>$@ |
d6211ef9bbb4
(loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents:
47727
diff
changeset
|
121 echo "(defvar cvs-global-menu nil)" >>$@ |
d6211ef9bbb4
(loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents:
47727
diff
changeset
|
122 echo "" >> $@ |
d6211ef9bbb4
(loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents:
47727
diff
changeset
|
123 echo ";;; Local Variables:" >> $@ |
d6211ef9bbb4
(loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents:
47727
diff
changeset
|
124 echo ";;; version-control: never" >> $@ |
d6211ef9bbb4
(loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents:
47727
diff
changeset
|
125 echo ";;; no-byte-compile: t" >> $@ |
d6211ef9bbb4
(loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents:
47727
diff
changeset
|
126 echo ";;; no-update-autoloads: t" >> $@ |
d6211ef9bbb4
(loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents:
47727
diff
changeset
|
127 echo ";;; End:" >> $@ |
d6211ef9bbb4
(loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents:
47727
diff
changeset
|
128 echo ";;; loaddefs.el ends here" >> $@ |
d6211ef9bbb4
(loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents:
47727
diff
changeset
|
129 |
d6211ef9bbb4
(loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents:
47727
diff
changeset
|
130 loaddefs.el-CMD: |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
131 echo ;;; loaddefs.el --- automatically extracted autoloads> $@ |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
132 echo ;;; Code:>> $@ |
49259
d6211ef9bbb4
(loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents:
47727
diff
changeset
|
133 echo (autoload 'define-minor-mode "easy-mmode")>> $@ |
d6211ef9bbb4
(loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents:
47727
diff
changeset
|
134 echo (autoload 'define-ccl-program "ccl")>> $@ |
d6211ef9bbb4
(loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents:
47727
diff
changeset
|
135 echo (autoload 'regexp-opt "regexp-opt")>> $@ |
d6211ef9bbb4
(loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents:
47727
diff
changeset
|
136 echo (autoload 'string-to-list "mule-util")>> $@ |
d6211ef9bbb4
(loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents:
47727
diff
changeset
|
137 echo (autoload 'define-derived-mode "derived")>> $@ |
d6211ef9bbb4
(loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents:
47727
diff
changeset
|
138 echo (autoload 'encoded-kbd-mode "encoded-kb")>> $@ |
d6211ef9bbb4
(loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents:
47727
diff
changeset
|
139 echo (defvar cvs-global-menu nil)>> $@ |
66160
172dcc84fa71
Use $(lisp) when referencing files in the lisp directory.
Jason Rumney <jasonr@gnu.org>
parents:
66159
diff
changeset
|
140 echo.>> $@ |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
141 echo ;;; Local Variables:>> $@ |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
142 echo ;;; version-control: never>> $@ |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
143 echo ;;; no-byte-compile: t>> $@ |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
144 echo ;;; no-update-autoloads: t>> $@ |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
145 echo ;;; End:>> $@ |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
146 echo ;;; loaddefs.el ends here>> $@ |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
147 |
66385
0c86bdf8a4cf
(autoloads): Use "." instead of $(lisp) in the list of directories passed
Eli Zaretskii <eliz@gnu.org>
parents:
66214
diff
changeset
|
148 # Use . instead of $(lisp) because $(lisp) is an absolute file name, |
0c86bdf8a4cf
(autoloads): Use "." instead of $(lisp) in the list of directories passed
Eli Zaretskii <eliz@gnu.org>
parents:
66214
diff
changeset
|
149 # including a drive letter and any leading directories, so the generated |
0c86bdf8a4cf
(autoloads): Use "." instead of $(lisp) in the list of directories passed
Eli Zaretskii <eliz@gnu.org>
parents:
66214
diff
changeset
|
150 # loaddefs.el will mention file names that on other machine reference |
0c86bdf8a4cf
(autoloads): Use "." instead of $(lisp) in the list of directories passed
Eli Zaretskii <eliz@gnu.org>
parents:
66214
diff
changeset
|
151 # possibly non-existent directories. |
67640
8b927f8d61a2
(autoloads, custom-deps): Warn that parts of commands enclosed in $(ARGQUOTE)s
Eli Zaretskii <eliz@gnu.org>
parents:
66385
diff
changeset
|
152 # |
8b927f8d61a2
(autoloads, custom-deps): Warn that parts of commands enclosed in $(ARGQUOTE)s
Eli Zaretskii <eliz@gnu.org>
parents:
66385
diff
changeset
|
153 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as |
8b927f8d61a2
(autoloads, custom-deps): Warn that parts of commands enclosed in $(ARGQUOTE)s
Eli Zaretskii <eliz@gnu.org>
parents:
66385
diff
changeset
|
154 # this can break with GNU Make 3.81 and later if sh.exe is used. |
66160
172dcc84fa71
Use $(lisp) when referencing files in the lisp directory.
Jason Rumney <jasonr@gnu.org>
parents:
66159
diff
changeset
|
155 autoloads: $(lisp)/loaddefs.el doit |
73817 | 156 @echo Directories: . $(WINS_ALMOST) |
37807
1b20100095bc
(compile-files-CMD, bootstrap-clean-CMD): Use
Andrew Innes <andrewi@gnu.org>
parents:
37384
diff
changeset
|
157 $(emacs) -l autoload \ |
67795
261fb2953410
(autoloads, $(lisp)/mh-e/mh-loaddefs.el): Use w32-batch-update-autoloads,
Eli Zaretskii <eliz@gnu.org>
parents:
67640
diff
changeset
|
158 --eval $(ARGQUOTE)(setq find-file-hook nil find-file-suppress-same-file-warnings t)$(ARGQUOTE) \ |
73817 | 159 -f w32-batch-update-autoloads "$(lisp)/loaddefs.el" . $(WINS_ALMOST) |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
160 |
66160
172dcc84fa71
Use $(lisp) when referencing files in the lisp directory.
Jason Rumney <jasonr@gnu.org>
parents:
66159
diff
changeset
|
161 $(lisp)/subdirs.el: |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
162 $(MAKE) $(MFLAGS) update-subdirs |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
163 |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
164 # Need separate version for sh and native cmd.exe |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
165 update-subdirs: update-subdirs-$(SHELLTYPE) |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
166 |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
167 update-subdirs-CMD: doit |
66160
172dcc84fa71
Use $(lisp) when referencing files in the lisp directory.
Jason Rumney <jasonr@gnu.org>
parents:
66159
diff
changeset
|
168 echo ;; -*- no-byte-compile: t -*-> $(lisp)/subdirs.el |
172dcc84fa71
Use $(lisp) when referencing files in the lisp directory.
Jason Rumney <jasonr@gnu.org>
parents:
66159
diff
changeset
|
169 echo ;; In load-path, after this directory should come>> $(lisp)/subdirs.el |
172dcc84fa71
Use $(lisp) when referencing files in the lisp directory.
Jason Rumney <jasonr@gnu.org>
parents:
66159
diff
changeset
|
170 echo ;; certain of its subdirectories. Here we specify them.>> $(lisp)/subdirs.el |
172dcc84fa71
Use $(lisp) when referencing files in the lisp directory.
Jason Rumney <jasonr@gnu.org>
parents:
66159
diff
changeset
|
171 echo (normal-top-level-add-to-load-path $(SQUOTE)(>> $(lisp)/subdirs.el |
172dcc84fa71
Use $(lisp) when referencing files in the lisp directory.
Jason Rumney <jasonr@gnu.org>
parents:
66159
diff
changeset
|
172 @for %%d in ($(WINS)) do if not (%%d)==(term) echo "%%d">> $(lisp)/subdirs.el |
172dcc84fa71
Use $(lisp) when referencing files in the lisp directory.
Jason Rumney <jasonr@gnu.org>
parents:
66159
diff
changeset
|
173 echo ))>> $(lisp)/subdirs.el |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
174 |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
175 update-subdirs-SH: doit |
49482
a5390a508759
(update-subdirs-SH): Create lisp/subdirs.el.
Juanma Barranquero <lekktu@gmail.com>
parents:
49459
diff
changeset
|
176 $(srcdir)/update-subdirs $(lisp); \ |
49259
d6211ef9bbb4
(loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents:
47727
diff
changeset
|
177 for file in $(WINS); do \ |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
178 $(srcdir)/update-subdirs $$file; \ |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
179 done; |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
180 |
66058
702baea25eb3
(MH-E-SRC): New. Used by mh-autoloads.
Bill Wohler <wohler@newt.com>
parents:
64769
diff
changeset
|
181 updates: update-subdirs autoloads mh-autoloads finder-data custom-deps |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
182 |
67952 | 183 # This is useful after "cvs up". |
184 cvs-update: recompile autoloads finder-data custom-deps | |
185 | |
46629
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
186 # Update the AUTHORS file. |
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
187 |
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
188 update-authors: |
61527 | 189 $(emacs) -l authors -f batch-update-authors $(srcdir)/AUTHORS $(srcdir) |
46629
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
190 |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
191 TAGS: $(lisptagsfiles1) $(lisptagsfiles2) |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
192 $(ETAGS) $(lisptagsfiles1) $(lisptagsfiles2) |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
193 |
46629
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
194 TAGS-LISP: $(lisptagsfiles1) $(lisptagsfiles2) |
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
195 $(ETAGS) -o TAGS-LISP $(lisptagsfiles1) $(lisptagsfiles2) |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
196 |
33904
c96ec3fcc61b
(.SUFFIXES): Add .SUFFIXES.
Andrew Innes <andrewi@gnu.org>
parents:
31677
diff
changeset
|
197 .SUFFIXES: .elc .el |
c96ec3fcc61b
(.SUFFIXES): Add .SUFFIXES.
Andrew Innes <andrewi@gnu.org>
parents:
31677
diff
changeset
|
198 |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
199 .el.elc: |
37384 | 200 -$(emacs) -f batch-byte-compile $< |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
201 |
61527 | 202 # Compile all Lisp files, but don't recompile those that are up to |
203 # date. Some files don't actually get compiled because they set the | |
204 # local variable no-byte-compile. | |
46629
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
205 |
61527 | 206 # All .elc files are made writable before compilation in case we |
207 # checked out read-only (CVS option -r). Files MUST be compiled one by | |
208 # one. If we compile several files in a row we can't make sure that | |
209 # the compilation environment is clean. We also set the load-path of | |
210 # the Emacs used for compilation to the current directory and its | |
211 # subdirectories, to make sure require's and load's in the files being | |
212 # compiled find the right files. | |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
213 |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
214 # Need separate version for sh and native cmd.exe |
66160
172dcc84fa71
Use $(lisp) when referencing files in the lisp directory.
Jason Rumney <jasonr@gnu.org>
parents:
66159
diff
changeset
|
215 compile: $(lisp)/subdirs.el mh-autoloads compile-$(SHELLTYPE) doit |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
216 |
46781
d93e5af9e50e
(compile-after-backup): Renamed from `compile'.
Richard M. Stallman <rms@gnu.org>
parents:
46757
diff
changeset
|
217 compile-CMD: |
56151
9ef25bd8db0d
Double percent signs in for loops.
Jason Rumney <jasonr@gnu.org>
parents:
56026
diff
changeset
|
218 # -for %%f in ($(lisp) $(WINS)) do for %%g in (%%f\*.elc) do @attrib -r %%g |
9ef25bd8db0d
Double percent signs in for loops.
Jason Rumney <jasonr@gnu.org>
parents:
56026
diff
changeset
|
219 for %%f in ($(COMPILE_FIRST)) do \ |
9ef25bd8db0d
Double percent signs in for loops.
Jason Rumney <jasonr@gnu.org>
parents:
56026
diff
changeset
|
220 $(emacs) -l loaddefs -f batch-byte-compile-if-not-done %%f |
9ef25bd8db0d
Double percent signs in for loops.
Jason Rumney <jasonr@gnu.org>
parents:
56026
diff
changeset
|
221 for %%f in (. $(WINS)) do for %%g in (%%f/*.el) do \ |
9ef25bd8db0d
Double percent signs in for loops.
Jason Rumney <jasonr@gnu.org>
parents:
56026
diff
changeset
|
222 $(emacs) -l loaddefs -f batch-byte-compile-if-not-done %%f/%%g |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
223 |
46781
d93e5af9e50e
(compile-after-backup): Renamed from `compile'.
Richard M. Stallman <rms@gnu.org>
parents:
46757
diff
changeset
|
224 compile-SH: |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
225 # for elc in $(lisp)/*.elc $(lisp)/*/*.elc; do attrib -r $$elc; done |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
226 for el in $(COMPILE_FIRST); do \ |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
227 echo Compiling $$el; \ |
49259
d6211ef9bbb4
(loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents:
47727
diff
changeset
|
228 $(emacs) -l loaddefs -f batch-byte-compile-if-not-done $$el; \ |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
229 done |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
230 for dir in $(lisp) $(WINS); do \ |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
231 for el in $$dir/*.el; do \ |
46629
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
232 if test -f $$el; \ |
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
233 then \ |
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
234 echo Compiling $$el; \ |
49259
d6211ef9bbb4
(loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents:
47727
diff
changeset
|
235 $(emacs) -l loaddefs -f batch-byte-compile-if-not-done $$el; \ |
46629
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
236 fi \ |
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
237 done; \ |
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
238 done |
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
239 |
61527 | 240 # Compile all Lisp files. This is like `compile' but compiles files |
241 # unconditionally. Some files don't actually get compiled because they | |
242 # set the local variable no-byte-compile. | |
243 | |
66160
172dcc84fa71
Use $(lisp) when referencing files in the lisp directory.
Jason Rumney <jasonr@gnu.org>
parents:
66159
diff
changeset
|
244 compile-always: $(lisp)/subdirs.el compile-always-$(SHELLTYPE) doit |
46629
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
245 |
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
246 compile-always-CMD: |
56151
9ef25bd8db0d
Double percent signs in for loops.
Jason Rumney <jasonr@gnu.org>
parents:
56026
diff
changeset
|
247 # -for %%f in ($(lisp) $(WINS)) do for %%g in (%%f\*.elc) do @attrib -r %%g |
9ef25bd8db0d
Double percent signs in for loops.
Jason Rumney <jasonr@gnu.org>
parents:
56026
diff
changeset
|
248 for %%f in ($(COMPILE_FIRST)) do $(emacs) -f batch-byte-compile %%f |
9ef25bd8db0d
Double percent signs in for loops.
Jason Rumney <jasonr@gnu.org>
parents:
56026
diff
changeset
|
249 for %%f in (. $(WINS)) do for %%g in (%%f/*.el) do $(emacs) -f batch-byte-compile %%f/%%g |
46629
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
250 |
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
251 compile-always-SH: |
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
252 # for elc in $(lisp)/*.elc $(lisp)/*/*.elc; do attrib -r $$elc; done |
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
253 for el in $(COMPILE_FIRST); do \ |
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
254 echo Compiling $$el; \ |
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
255 $(emacs) -f batch-byte-compile $$el || exit 1; \ |
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
256 done |
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
257 for dir in $(lisp) $(WINS); do \ |
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
258 for el in $$dir/*.el; do \ |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
259 echo Compiling $$el; \ |
46629
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
260 $(emacs) -f batch-byte-compile $$el || exit 1; \ |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
261 done; \ |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
262 done |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
263 |
46629
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
264 compile-calc: compile-calc-$(SHELLTYPE) |
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
265 |
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
266 compile-calc-CMD: |
56151
9ef25bd8db0d
Double percent signs in for loops.
Jason Rumney <jasonr@gnu.org>
parents:
56026
diff
changeset
|
267 for %%f in ($(lisp)/calc/*.el) do $(emacs) -f batch-byte-compile %%f |
46629
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
268 |
47727
53a1d514b214
Add "no-byte-compile: t" to subdirs.el.
Juanma Barranquero <lekktu@gmail.com>
parents:
47039
diff
changeset
|
269 compile-calc-SH: |
46629
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
270 for el in $(lisp)/calc/*.el; do \ |
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
271 echo Compiling $$el; \ |
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
272 $(emacs) -f batch-byte-compile $$el || exit 1; \ |
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
273 done |
73124278175b
(DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents:
44192
diff
changeset
|
274 |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
275 # Backup compiled Lisp files in elc.tar.gz. If that file already |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
276 # exists, make a backup of it. |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
277 |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
278 backup-compiled-files: |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
279 -mv $(lisp)/elc.tar.gz $(lisp)/elc.tar.gz~ |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
280 -tar czf $(lisp)/elc.tar.gz $(lisp)/*.elc $(lisp)/*/*.elc |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
281 |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
282 # Compile Lisp files, but save old compiled files first. |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
283 |
46781
d93e5af9e50e
(compile-after-backup): Renamed from `compile'.
Richard M. Stallman <rms@gnu.org>
parents:
46757
diff
changeset
|
284 compile-after-backup: backup-compiled-files compile-always |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
285 |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
286 # Recompile all Lisp files which are newer than their .elc files. |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
287 # Note that this doesn't create .elc files. It only recompiles if an |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
288 # .elc is present. |
68165
2b8858692354
(MH_E_SRC): Synchronize with Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
67952
diff
changeset
|
289 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as |
2b8858692354
(MH_E_SRC): Synchronize with Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
67952
diff
changeset
|
290 # this can break with GNU Make 3.81 and later if sh.exe is used. |
2b8858692354
(MH_E_SRC): Synchronize with Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
67952
diff
changeset
|
291 recompile: mh-autoloads doit $(lisp)/progmodes/cc-mode.elc |
2b8858692354
(MH_E_SRC): Synchronize with Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
67952
diff
changeset
|
292 $(emacs) --eval $(ARGQUOTE)(batch-byte-recompile-directory 0)$(ARGQUOTE) $(lisp) |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
293 |
66058
702baea25eb3
(MH-E-SRC): New. Used by mh-autoloads.
Bill Wohler <wohler@newt.com>
parents:
64769
diff
changeset
|
294 # Update MH-E internal autoloads. These are not to be confused with |
702baea25eb3
(MH-E-SRC): New. Used by mh-autoloads.
Bill Wohler <wohler@newt.com>
parents:
64769
diff
changeset
|
295 # the autoloads for the MH-E entry points, which are already in |
702baea25eb3
(MH-E-SRC): New. Used by mh-autoloads.
Bill Wohler <wohler@newt.com>
parents:
64769
diff
changeset
|
296 # loaddefs.el. |
66068
52a67cff7f8a
(MH_E_SRC): Renamed from MH-E-SRC per NMAKE restrictions. Suggested by
Bill Wohler <wohler@newt.com>
parents:
66058
diff
changeset
|
297 MH_E_SRC = $(lisp)/mh-e/mh-acros.el $(lisp)/mh-e/mh-alias.el \ |
68467 | 298 $(lisp)/mh-e/mh-buffers.el $(lisp)/mh-e/mh-compat.el \ |
299 $(lisp)/mh-e/mh-comp.el $(lisp)/mh-e/mh-e.el \ | |
300 $(lisp)/mh-e/mh-folder.el $(lisp)/mh-e/mh-funcs.el \ | |
301 $(lisp)/mh-e/mh-gnus.el $(lisp)/mh-e/mh-identity.el \ | |
302 $(lisp)/mh-e/mh-inc.el $(lisp)/mh-e/mh-junk.el \ | |
303 $(lisp)/mh-e/mh-letter.el $(lisp)/mh-e/mh-limit.el \ | |
304 $(lisp)/mh-e/mh-mime.el $(lisp)/mh-e/mh-print.el \ | |
305 $(lisp)/mh-e/mh-scan.el $(lisp)/mh-e/mh-search.el \ | |
306 $(lisp)/mh-e/mh-seq.el $(lisp)/mh-e/mh-show.el \ | |
307 $(lisp)/mh-e/mh-speed.el $(lisp)/mh-e/mh-thread.el \ | |
308 $(lisp)/mh-e/mh-tool-bar.el $(lisp)/mh-e/mh-utils.el \ | |
309 $(lisp)/mh-e/mh-xface.el | |
66058
702baea25eb3
(MH-E-SRC): New. Used by mh-autoloads.
Bill Wohler <wohler@newt.com>
parents:
64769
diff
changeset
|
310 |
702baea25eb3
(MH-E-SRC): New. Used by mh-autoloads.
Bill Wohler <wohler@newt.com>
parents:
64769
diff
changeset
|
311 mh-autoloads: $(lisp)/mh-e/mh-loaddefs.el |
66068
52a67cff7f8a
(MH_E_SRC): Renamed from MH-E-SRC per NMAKE restrictions. Suggested by
Bill Wohler <wohler@newt.com>
parents:
66058
diff
changeset
|
312 $(lisp)/mh-e/mh-loaddefs.el: $(MH_E_SRC) |
66159
f007e250392a
(pre-mh-loaddefs.el-SH, pre-mh-loaddefs.el-CMD):
Jason Rumney <jasonr@gnu.org>
parents:
66068
diff
changeset
|
313 $(MAKE) $(MFLAGS) pre-mh-loaddefs.el-$(SHELLTYPE) |
f007e250392a
(pre-mh-loaddefs.el-SH, pre-mh-loaddefs.el-CMD):
Jason Rumney <jasonr@gnu.org>
parents:
66068
diff
changeset
|
314 cp pre-mh-loaddefs.el-$(SHELLTYPE) $@ |
66160
172dcc84fa71
Use $(lisp) when referencing files in the lisp directory.
Jason Rumney <jasonr@gnu.org>
parents:
66159
diff
changeset
|
315 rm pre-mh-loaddefs.el-$(SHELLTYPE) |
71233
b75b26c046ad
(bootstrap, $(lisp)/mh-e/mh-loaddefs.el): Quote $(EMACS).
Eli Zaretskii <eliz@gnu.org>
parents:
71163
diff
changeset
|
316 "$(EMACS)" $(EMACSOPT) \ |
66159
f007e250392a
(pre-mh-loaddefs.el-SH, pre-mh-loaddefs.el-CMD):
Jason Rumney <jasonr@gnu.org>
parents:
66068
diff
changeset
|
317 -l autoload \ |
f007e250392a
(pre-mh-loaddefs.el-SH, pre-mh-loaddefs.el-CMD):
Jason Rumney <jasonr@gnu.org>
parents:
66068
diff
changeset
|
318 --eval "(setq generate-autoload-cookie \";;;###mh-autoload\")" \ |
66214
c78b180825b5
($(lisp)/mh-e/mh-loaddefs.el): Bind find-file-suppress-same-file-warnings
Eli Zaretskii <eliz@gnu.org>
parents:
66168
diff
changeset
|
319 --eval "(setq find-file-suppress-same-file-warnings t)" \ |
66159
f007e250392a
(pre-mh-loaddefs.el-SH, pre-mh-loaddefs.el-CMD):
Jason Rumney <jasonr@gnu.org>
parents:
66068
diff
changeset
|
320 --eval "(setq make-backup-files nil)" \ |
67795
261fb2953410
(autoloads, $(lisp)/mh-e/mh-loaddefs.el): Use w32-batch-update-autoloads,
Eli Zaretskii <eliz@gnu.org>
parents:
67640
diff
changeset
|
321 -f w32-batch-update-autoloads \ |
261fb2953410
(autoloads, $(lisp)/mh-e/mh-loaddefs.el): Use w32-batch-update-autoloads,
Eli Zaretskii <eliz@gnu.org>
parents:
67640
diff
changeset
|
322 "$(lisp)/mh-e/mh-loaddefs.el" $(lisp)/mh-e |
66159
f007e250392a
(pre-mh-loaddefs.el-SH, pre-mh-loaddefs.el-CMD):
Jason Rumney <jasonr@gnu.org>
parents:
66068
diff
changeset
|
323 |
f007e250392a
(pre-mh-loaddefs.el-SH, pre-mh-loaddefs.el-CMD):
Jason Rumney <jasonr@gnu.org>
parents:
66068
diff
changeset
|
324 pre-mh-loaddefs.el-SH: |
66058
702baea25eb3
(MH-E-SRC): New. Used by mh-autoloads.
Bill Wohler <wohler@newt.com>
parents:
64769
diff
changeset
|
325 echo ";;; mh-loaddefs.el --- automatically extracted autoloads" > $@ |
702baea25eb3
(MH-E-SRC): New. Used by mh-autoloads.
Bill Wohler <wohler@newt.com>
parents:
64769
diff
changeset
|
326 echo ";;" >> $@ |
68165
2b8858692354
(MH_E_SRC): Synchronize with Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
67952
diff
changeset
|
327 echo ";; Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc." >> $@ |
2b8858692354
(MH_E_SRC): Synchronize with Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
67952
diff
changeset
|
328 echo ";; Author: Bill Wohler <wohler@newt.com>" >> $@ |
2b8858692354
(MH_E_SRC): Synchronize with Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
67952
diff
changeset
|
329 echo ";; Keywords: mail" >> $@ |
66058
702baea25eb3
(MH-E-SRC): New. Used by mh-autoloads.
Bill Wohler <wohler@newt.com>
parents:
64769
diff
changeset
|
330 echo ";;; Commentary:" >> $@ |
702baea25eb3
(MH-E-SRC): New. Used by mh-autoloads.
Bill Wohler <wohler@newt.com>
parents:
64769
diff
changeset
|
331 echo ";;; Change Log:" >> $@ |
702baea25eb3
(MH-E-SRC): New. Used by mh-autoloads.
Bill Wohler <wohler@newt.com>
parents:
64769
diff
changeset
|
332 echo ";;; Code:" >> $@ |
702baea25eb3
(MH-E-SRC): New. Used by mh-autoloads.
Bill Wohler <wohler@newt.com>
parents:
64769
diff
changeset
|
333 echo "" >> $@ |
702baea25eb3
(MH-E-SRC): New. Used by mh-autoloads.
Bill Wohler <wohler@newt.com>
parents:
64769
diff
changeset
|
334 echo "(provide 'mh-loaddefs)" >> $@ |
68165
2b8858692354
(MH_E_SRC): Synchronize with Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
67952
diff
changeset
|
335 echo ";; Local Variables:" >> $@ |
2b8858692354
(MH_E_SRC): Synchronize with Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
67952
diff
changeset
|
336 echo ";; version-control: never" >> $@ |
2b8858692354
(MH_E_SRC): Synchronize with Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
67952
diff
changeset
|
337 echo ";; no-byte-compile: t" >> $@ |
2b8858692354
(MH_E_SRC): Synchronize with Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
67952
diff
changeset
|
338 echo ";; no-update-autoloads: t" >> $@ |
2b8858692354
(MH_E_SRC): Synchronize with Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
67952
diff
changeset
|
339 echo ";; End:" >> $@ |
66058
702baea25eb3
(MH-E-SRC): New. Used by mh-autoloads.
Bill Wohler <wohler@newt.com>
parents:
64769
diff
changeset
|
340 echo ";;; mh-loaddefs.el ends here" >> $@ |
702baea25eb3
(MH-E-SRC): New. Used by mh-autoloads.
Bill Wohler <wohler@newt.com>
parents:
64769
diff
changeset
|
341 |
66159
f007e250392a
(pre-mh-loaddefs.el-SH, pre-mh-loaddefs.el-CMD):
Jason Rumney <jasonr@gnu.org>
parents:
66068
diff
changeset
|
342 pre-mh-loaddefs.el-CMD: |
f007e250392a
(pre-mh-loaddefs.el-SH, pre-mh-loaddefs.el-CMD):
Jason Rumney <jasonr@gnu.org>
parents:
66068
diff
changeset
|
343 echo ;;; mh-loaddefs.el --- automatically extracted autoloads> $@ |
f007e250392a
(pre-mh-loaddefs.el-SH, pre-mh-loaddefs.el-CMD):
Jason Rumney <jasonr@gnu.org>
parents:
66068
diff
changeset
|
344 echo ;;>> $@ |
68165
2b8858692354
(MH_E_SRC): Synchronize with Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
67952
diff
changeset
|
345 echo ;; Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.>> $@ |
2b8858692354
(MH_E_SRC): Synchronize with Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
67952
diff
changeset
|
346 echo ;; Author: Bill Wohler (wohler@newt.com)>> $@ |
2b8858692354
(MH_E_SRC): Synchronize with Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
67952
diff
changeset
|
347 echo ;; Keywords: mail>> $@ |
66159
f007e250392a
(pre-mh-loaddefs.el-SH, pre-mh-loaddefs.el-CMD):
Jason Rumney <jasonr@gnu.org>
parents:
66068
diff
changeset
|
348 echo ;;; Commentary:>> $@ |
f007e250392a
(pre-mh-loaddefs.el-SH, pre-mh-loaddefs.el-CMD):
Jason Rumney <jasonr@gnu.org>
parents:
66068
diff
changeset
|
349 echo ;;; Change Log:>> $@ |
f007e250392a
(pre-mh-loaddefs.el-SH, pre-mh-loaddefs.el-CMD):
Jason Rumney <jasonr@gnu.org>
parents:
66068
diff
changeset
|
350 echo ;;; Code:>> $@ |
f007e250392a
(pre-mh-loaddefs.el-SH, pre-mh-loaddefs.el-CMD):
Jason Rumney <jasonr@gnu.org>
parents:
66068
diff
changeset
|
351 echo.>> $@ |
f007e250392a
(pre-mh-loaddefs.el-SH, pre-mh-loaddefs.el-CMD):
Jason Rumney <jasonr@gnu.org>
parents:
66068
diff
changeset
|
352 echo (provide 'mh-loaddefs)>> $@ |
68165
2b8858692354
(MH_E_SRC): Synchronize with Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
67952
diff
changeset
|
353 echo ;; Local Variables:>> $@ |
2b8858692354
(MH_E_SRC): Synchronize with Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
67952
diff
changeset
|
354 echo ;; version-control: never>> $@ |
2b8858692354
(MH_E_SRC): Synchronize with Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
67952
diff
changeset
|
355 echo ;; no-byte-compile: t>> $@ |
2b8858692354
(MH_E_SRC): Synchronize with Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
67952
diff
changeset
|
356 echo ;; no-update-autoloads: t>> $@ |
2b8858692354
(MH_E_SRC): Synchronize with Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
67952
diff
changeset
|
357 echo ;; End:>> $@ |
66159
f007e250392a
(pre-mh-loaddefs.el-SH, pre-mh-loaddefs.el-CMD):
Jason Rumney <jasonr@gnu.org>
parents:
66068
diff
changeset
|
358 echo ;;; mh-loaddefs.el ends here>> $@ |
f007e250392a
(pre-mh-loaddefs.el-SH, pre-mh-loaddefs.el-CMD):
Jason Rumney <jasonr@gnu.org>
parents:
66068
diff
changeset
|
359 |
52512
c7ef303c76f2
Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-48
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
360 # Prepare a bootstrap in the lisp subdirectory. |
c7ef303c76f2
Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-48
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
361 # |
63341
dccd42ff9e1a
(bootstrap-clean-CMD, bootstrap-clean-SH): Don't use an old loaddefs.el,
Eli Zaretskii <eliz@gnu.org>
parents:
61527
diff
changeset
|
362 # Build loaddefs.el to make sure it's up-to-date. If it's not, that |
dccd42ff9e1a
(bootstrap-clean-CMD, bootstrap-clean-SH): Don't use an old loaddefs.el,
Eli Zaretskii <eliz@gnu.org>
parents:
61527
diff
changeset
|
363 # might lead to errors during the bootstrap because something fails to |
dccd42ff9e1a
(bootstrap-clean-CMD, bootstrap-clean-SH): Don't use an old loaddefs.el,
Eli Zaretskii <eliz@gnu.org>
parents:
61527
diff
changeset
|
364 # autoload as expected. If there is no emacs binary, then we can't |
dccd42ff9e1a
(bootstrap-clean-CMD, bootstrap-clean-SH): Don't use an old loaddefs.el,
Eli Zaretskii <eliz@gnu.org>
parents:
61527
diff
changeset
|
365 # build autoloads yet. In that case we have to use ldefs-boot.el; |
dccd42ff9e1a
(bootstrap-clean-CMD, bootstrap-clean-SH): Don't use an old loaddefs.el,
Eli Zaretskii <eliz@gnu.org>
parents:
61527
diff
changeset
|
366 # bootstrap should always work with ldefs-boot.el. (Because |
dccd42ff9e1a
(bootstrap-clean-CMD, bootstrap-clean-SH): Don't use an old loaddefs.el,
Eli Zaretskii <eliz@gnu.org>
parents:
61527
diff
changeset
|
367 # loaddefs.el is an automatically generated file, we don't want to |
dccd42ff9e1a
(bootstrap-clean-CMD, bootstrap-clean-SH): Don't use an old loaddefs.el,
Eli Zaretskii <eliz@gnu.org>
parents:
61527
diff
changeset
|
368 # store it in the source repository). |
52512
c7ef303c76f2
Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-48
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
369 # |
c7ef303c76f2
Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-48
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
370 # Remove compiled Lisp files so that bootstrap-emacs will be built from |
c7ef303c76f2
Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-48
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
371 # sources only. |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
372 |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
373 # Need separate version for sh and native cmd.exe |
66160
172dcc84fa71
Use $(lisp) when referencing files in the lisp directory.
Jason Rumney <jasonr@gnu.org>
parents:
66159
diff
changeset
|
374 bootstrap-clean: bootstrap-clean-$(SHELLTYPE) $(lisp)/loaddefs.el |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
375 |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
376 bootstrap-clean-CMD: |
71233
b75b26c046ad
(bootstrap, $(lisp)/mh-e/mh-loaddefs.el): Quote $(EMACS).
Eli Zaretskii <eliz@gnu.org>
parents:
71163
diff
changeset
|
377 # if exist "$(EMACS)" $(MAKE) $(MFLAGS) autoloads |
63341
dccd42ff9e1a
(bootstrap-clean-CMD, bootstrap-clean-SH): Don't use an old loaddefs.el,
Eli Zaretskii <eliz@gnu.org>
parents:
61527
diff
changeset
|
378 cp $(lisp)/ldefs-boot.el $(lisp)/loaddefs.el |
56151
9ef25bd8db0d
Double percent signs in for loops.
Jason Rumney <jasonr@gnu.org>
parents:
56026
diff
changeset
|
379 -for %%f in (. $(WINS)) do for %%g in (%%f\*.elc) do @$(DEL) %%g |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
380 |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
381 bootstrap-clean-SH: |
71233
b75b26c046ad
(bootstrap, $(lisp)/mh-e/mh-loaddefs.el): Quote $(EMACS).
Eli Zaretskii <eliz@gnu.org>
parents:
71163
diff
changeset
|
382 # if test -f "$(EMACS)"; then $(MAKE) $(MFLAGS) autoloads; fi |
44192
1c7d75d3c175
(bootstrap-clean-SH): Use for loop, instead of
Andrew Innes <andrewi@gnu.org>
parents:
44167
diff
changeset
|
383 # -rm -f $(lisp)/*.elc $(lisp)/*/*.elc |
63341
dccd42ff9e1a
(bootstrap-clean-CMD, bootstrap-clean-SH): Don't use an old loaddefs.el,
Eli Zaretskii <eliz@gnu.org>
parents:
61527
diff
changeset
|
384 cp $(lisp)/ldefs-boot.el $(lisp)/loaddefs.el |
44192
1c7d75d3c175
(bootstrap-clean-SH): Use for loop, instead of
Andrew Innes <andrewi@gnu.org>
parents:
44167
diff
changeset
|
385 -for dir in . $(WINS); do rm -f $$dir/*.elc; done |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
386 |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
387 # Generate/update files for the bootstrap process. |
63909
8ecb3fd4aded
(bootstrap): Remove the $(EMACS) binary after updating all the
Eli Zaretskii <eliz@gnu.org>
parents:
63341
diff
changeset
|
388 # When done, remove bootstrap-emacs from ../bin, so that |
8ecb3fd4aded
(bootstrap): Remove the $(EMACS) binary after updating all the
Eli Zaretskii <eliz@gnu.org>
parents:
63341
diff
changeset
|
389 # it will not be mistaken for an installed binary. |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
390 |
66058
702baea25eb3
(MH-E-SRC): New. Used by mh-autoloads.
Bill Wohler <wohler@newt.com>
parents:
64769
diff
changeset
|
391 bootstrap: update-subdirs autoloads mh-autoloads compile finder-data custom-deps |
71233
b75b26c046ad
(bootstrap, $(lisp)/mh-e/mh-loaddefs.el): Quote $(EMACS).
Eli Zaretskii <eliz@gnu.org>
parents:
71163
diff
changeset
|
392 - $(DEL) "$(EMACS)" |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
393 |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
394 # |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
395 # Assuming INSTALL_DIR is defined, copy the elisp files to it |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
396 # Windows 95 makes this harder than it should be. |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
397 # |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
398 install: |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
399 - mkdir "$(INSTALL_DIR)/lisp" |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
400 - $(DEL) ../same-dir.tst |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
401 - $(DEL) "$(INSTALL_DIR)/same-dir.tst" |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
402 echo SameDirTest > "$(INSTALL_DIR)/same-dir.tst" |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
403 #ifdef COPY_LISP_SOURCE |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
404 $(IFNOTSAMEDIR) $(CP_DIR) . "$(INSTALL_DIR)/lisp" $(ENDIF) |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
405 #else |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
406 # $(IFNOTSAMEDIR) $(CP_DIR) *.elc "$(INSTALL_DIR)/lisp" $(ENDIF) |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
407 # $(IFNOTSAMEDIR) $(CP) cus-load.el "$(INSTALL_DIR)/lisp" $(ENDIF) |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
408 # $(IFNOTSAMEDIR) $(CP) forms*.el "$(INSTALL_DIR)/lisp" $(ENDIF) |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
409 # $(IFNOTSAMEDIR) $(CP) patcomp.el "$(INSTALL_DIR)/lisp" $(ENDIF) |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
410 # $(IFNOTSAMEDIR) $(CP) subdirs.el "$(INSTALL_DIR)/lisp" $(ENDIF) |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
411 # $(IFNOTSAMEDIR) $(CP) version.el "$(INSTALL_DIR)/lisp" $(ENDIF) |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
412 # $(IFNOTSAMEDIR) $(CP) mail/blessmail.el "$(INSTALL_DIR)/lisp/mail" $(ENDIF) |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
413 # $(IFNOTSAMEDIR) $(CP) mail/sc.el "$(INSTALL_DIR)/lisp/mail" $(ENDIF) |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
414 # $(IFNOTSAMEDIR) $(CP) play/bruce.el "$(INSTALL_DIR)/lisp/play" $(ENDIF) |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
415 # $(IFNOTSAMEDIR) $(CP) international/latin-*.el "$(INSTALL_DIR)/lisp/international" $(ENDIF) |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
416 # $(IFNOTSAMEDIR) $(CP) international/mule-conf.el "$(INSTALL_DIR)/lisp/international" $(ENDIF) |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
417 #endif |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
418 - $(DEL) ../same-dir.tst |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
419 - $(DEL) "$(INSTALL_DIR)/same-dir.tst" |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
420 |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
421 # |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
422 # Maintenance |
47727
53a1d514b214
Add "no-byte-compile: t" to subdirs.el.
Juanma Barranquero <lekktu@gmail.com>
parents:
47039
diff
changeset
|
423 # |
31631
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
424 clean: |
011566e20a32
Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents:
31620
diff
changeset
|
425 - $(DEL) *~ |