annotate lisp/makefile.w32-in @ 93881:c0fe31fb3833

($(lisp)/mh-e/mh-loaddefs.el): Make it depend on mh-e/*.el rather than subdirs.el. It introduces an ugly circular dependency, tho.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 08 Apr 2008 22:12:12 +0000
parents 3cca0b32cb85
children 2271e620522a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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,
79721
73661ddc7ac7 Add 2008 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 78236
diff changeset
3 # 2005, 2006, 2007, 2008 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
78236
9355f9b7bbff Switch license to GPLv3 or later.
Glenn Morris <rgm@gnu.org>
parents: 78170
diff changeset
9 # the Free Software Foundation; either version 3, or (at your option)
31631
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
6fb026ad601f Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 63909
diff changeset
19 # Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
6fb026ad601f Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 63909
diff changeset
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
87181
a0d11703c35e (check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents: 86371
diff changeset
43 # Extra flags to pass to the byte compiler
a0d11703c35e (check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents: 86371
diff changeset
44 BYTE_COMPILE_EXTRA_FLAGS =
a0d11703c35e (check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents: 86371
diff changeset
45 # For example to not display the undefined function warnings you can use this:
a0d11703c35e (check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents: 86371
diff changeset
46 # BYTE_COMPILE_EXTRA_FLAGS = --eval '(setq byte-compile-warnings (quote (not unresolved)))'
a0d11703c35e (check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents: 86371
diff changeset
47 # The example above is just for developers, it should not be used by default.
a0d11703c35e (check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents: 86371
diff changeset
48
37384
cbadcb3ed82d (EMACSLOADPATH): Define.
Andrew Innes <andrewi@gnu.org>
parents: 36918
diff changeset
49 # Set EMACSLOADPATH correctly (already defined in environment).
cbadcb3ed82d (EMACSLOADPATH): Define.
Andrew Innes <andrewi@gnu.org>
parents: 36918
diff changeset
50 EMACSLOADPATH=$(lisp)
cbadcb3ed82d (EMACSLOADPATH): Define.
Andrew Innes <andrewi@gnu.org>
parents: 36918
diff changeset
51
89970
a849e5779b8c Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-35
Miles Bader <miles@gnu.org>
parents: 89957
diff changeset
52 # Use C locale
a849e5779b8c Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-35
Miles Bader <miles@gnu.org>
parents: 89957
diff changeset
53 LC_ALL = C
a849e5779b8c Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-35
Miles Bader <miles@gnu.org>
parents: 89957
diff changeset
54
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
55 lisptagsfiles1 = $(lisp)/*.el
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
56 lisptagsfiles2 = $(lisp)/*/*.el
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
57 ETAGS = "../lib-src/$(BLD)/etags"
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
58
92942
e5878cb053f7 ($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents: 92117
diff changeset
59 # Automatically generated autoload files, apart from lisp/loaddefs.el.
e5878cb053f7 ($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents: 92117
diff changeset
60 LOADDEFS = $(lisp)/calendar/cal-loaddefs.el \
e5878cb053f7 ($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents: 92117
diff changeset
61 $(lisp)/calendar/diary-loaddefs.el $(lisp)/calendar/hol-loaddefs.el
e5878cb053f7 ($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents: 92117
diff changeset
62
36918
b485ed237672 (COMPILE_FIRST): Add cc-mode.el
Gerd Moellmann <gerd@gnu.org>
parents: 36378
diff changeset
63 # 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
64 # 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
65 # 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
66 # 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
67 # bootstrapping.
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
68
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
69 COMPILE_FIRST = \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
70 $(lisp)/emacs-lisp/byte-opt.el \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
71 $(lisp)/emacs-lisp/bytecomp.el \
36918
b485ed237672 (COMPILE_FIRST): Add cc-mode.el
Gerd Moellmann <gerd@gnu.org>
parents: 36378
diff changeset
72 $(lisp)/subr.el \
b485ed237672 (COMPILE_FIRST): Add cc-mode.el
Gerd Moellmann <gerd@gnu.org>
parents: 36378
diff changeset
73 $(lisp)/progmodes/cc-mode.el \
b485ed237672 (COMPILE_FIRST): Add cc-mode.el
Gerd Moellmann <gerd@gnu.org>
parents: 36378
diff changeset
74 $(lisp)/progmodes/cc-vars.el
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
75
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
76 # 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
77 # 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
78 # 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
79 # the shell is cmd.exe.
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
80
71163
b1bc5d576c4c (EMACS): Remove quotes from the Emacs executable file name.
Eli Zaretskii <eliz@gnu.org>
parents: 68467
diff changeset
81 emacs = "$(EMACS)" $(EMACSOPT)
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
82
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
83 # Have to define the list of subdirs manually when not using sh.
73817
46d85206101d (setwins): Remove.
Juanma Barranquero <lekktu@gmail.com>
parents: 71233
diff changeset
84 WINS_ALMOST=\
47039
f89ca946d5c2 (WINS): Add calc and obsolete.
Juanma Barranquero <lekktu@gmail.com>
parents: 46781
diff changeset
85 calc \
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
86 calendar \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
87 emacs-lisp \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
88 emulation \
68467
ab5d3aa997df (WINS): Add erc.
Juanma Barranquero <lekktu@gmail.com>
parents: 68165
diff changeset
89 erc \
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
90 eshell \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
91 gnus \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
92 international \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
93 language \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
94 mail \
49459
06b77df47802 * mh-e: Created directory. ChangeLog will appear in a week when we
Bill Wohler <wohler@newt.com>
parents: 49259
diff changeset
95 mh-e \
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
96 net \
86371
dac032dc601a (WIN_ALMOST): Maintain sorted.
Juanma Barranquero <lekktu@gmail.com>
parents: 86361
diff changeset
97 nxml \
93150
3cca0b32cb85 (WINS_ALMOST): Add org.
Juanma Barranquero <lekktu@gmail.com>
parents: 92942
diff changeset
98 org \
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
99 play \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
100 progmodes \
44165
32c2b878dabd (WINS): Add the toolbar directory.
Juanma Barranquero <lekktu@gmail.com>
parents: 40753
diff changeset
101 textmodes \
55064
215f0bc58b67 (WINS): Add url/ directory.
Juanma Barranquero <lekktu@gmail.com>
parents: 53015
diff changeset
102 url
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
103
73817
46d85206101d (setwins): Remove.
Juanma Barranquero <lekktu@gmail.com>
parents: 71233
diff changeset
104 WINS= $(WINS_ALMOST) \
92117
870169dbaee1 (WINS_ALMOST): Remove term.
Jason Rumney <jasonr@gnu.org>
parents: 91327
diff changeset
105 term \
73817
46d85206101d (setwins): Remove.
Juanma Barranquero <lekktu@gmail.com>
parents: 71233
diff changeset
106 obsolete
46d85206101d (setwins): Remove.
Juanma Barranquero <lekktu@gmail.com>
parents: 71233
diff changeset
107
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
108 doit:
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
109
66160
172dcc84fa71 Use $(lisp) when referencing files in the lisp directory.
Jason Rumney <jasonr@gnu.org>
parents: 66159
diff changeset
110 $(lisp)/cus-load.el:
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
111 touch $@
67640
8b927f8d61a2 (autoloads, custom-deps): Warn that parts of commands enclosed in $(ARGQUOTE)s
Eli Zaretskii <eliz@gnu.org>
parents: 66385
diff changeset
112 # 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
113 # this can break with GNU Make 3.81 and later if sh.exe is used.
75410
fc72911206ac (finder-data, custom-deps): Depend on $(lisp)/loaddefs.el.
Eli Zaretskii <eliz@gnu.org>
parents: 75347
diff changeset
114 custom-deps: $(lisp)/cus-load.el $(lisp)/loaddefs.el doit
92117
870169dbaee1 (WINS_ALMOST): Remove term.
Jason Rumney <jasonr@gnu.org>
parents: 91327
diff changeset
115 @echo Directories: $(WINS_ALMOST)
870169dbaee1 (WINS_ALMOST): Remove term.
Jason Rumney <jasonr@gnu.org>
parents: 91327
diff changeset
116 -$(emacs) -l cus-dep --eval $(ARGQUOTE)(setq find-file-hook nil)$(ARGQUOTE) -f custom-make-dependencies $(lisp) $(WINS_ALMOST)
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
117
75410
fc72911206ac (finder-data, custom-deps): Depend on $(lisp)/loaddefs.el.
Eli Zaretskii <eliz@gnu.org>
parents: 75347
diff changeset
118 finder-data: $(lisp)/loaddefs.el doit
92117
870169dbaee1 (WINS_ALMOST): Remove term.
Jason Rumney <jasonr@gnu.org>
parents: 91327
diff changeset
119 @echo Directories: $(WINS_ALMOST)
870169dbaee1 (WINS_ALMOST): Remove term.
Jason Rumney <jasonr@gnu.org>
parents: 91327
diff changeset
120 $(emacs) -l finder -f finder-compile-keywords-make-dist $(lisp) $(WINS_ALMOST)
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
121
66160
172dcc84fa71 Use $(lisp) when referencing files in the lisp directory.
Jason Rumney <jasonr@gnu.org>
parents: 66159
diff changeset
122 $(lisp)/loaddefs.el:
49259
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
123 $(MAKE) $(MFLAGS) loaddefs.el-$(SHELLTYPE)
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
124 cp loaddefs.el-$(SHELLTYPE) $@
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
125 rm loaddefs.el-$(SHELLTYPE)
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
126
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
127 loaddefs.el-SH:
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
128 echo ";;; loaddefs.el --- automatically extracted autoloads" > $@
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
129 echo ";;" >> $@; echo ";;; Code:" >> $@
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
130 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
131 echo "(autoload 'define-ccl-program \"ccl\")" >>$@
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
132 echo "(autoload 'regexp-opt \"regexp-opt\")" >>$@
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
133 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
134 echo "(autoload 'define-derived-mode \"derived\")" >>$@
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
135 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
136 echo "(defvar cvs-global-menu nil)" >>$@
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
137 echo " " >> $@
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
138 echo ";;; Local Variables:" >> $@
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
139 echo ";;; version-control: never" >> $@
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
140 echo ";;; no-byte-compile: t" >> $@
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
141 echo ";;; no-update-autoloads: t" >> $@
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
142 echo ";;; End:" >> $@
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
143 echo ";;; loaddefs.el ends here" >> $@
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
144
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
145 loaddefs.el-CMD:
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
146 echo ;;; loaddefs.el --- automatically extracted autoloads> $@
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
147 echo ;;; Code:>> $@
49259
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
148 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
149 echo (autoload 'define-ccl-program "ccl")>> $@
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
150 echo (autoload 'regexp-opt "regexp-opt")>> $@
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
151 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
152 echo (autoload 'define-derived-mode "derived")>> $@
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
153 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
154 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
155 echo. >> $@
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
156 echo ;;; Local Variables:>> $@
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
157 echo ;;; version-control: never>> $@
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
158 echo ;;; no-byte-compile: t>> $@
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
159 echo ;;; no-update-autoloads: t>> $@
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
160 echo ;;; End:>> $@
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
161 echo ;;; loaddefs.el ends here>> $@
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
162
66385
0c86bdf8a4cf (autoloads): Use "." instead of $(lisp) in the list of directories passed
Eli Zaretskii <eliz@gnu.org>
parents: 66214
diff changeset
163 # 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
164 # 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
165 # 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
166 # 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
167 #
8b927f8d61a2 (autoloads, custom-deps): Warn that parts of commands enclosed in $(ARGQUOTE)s
Eli Zaretskii <eliz@gnu.org>
parents: 66385
diff changeset
168 # 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
169 # this can break with GNU Make 3.81 and later if sh.exe is used.
92942
e5878cb053f7 ($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents: 92117
diff changeset
170 autoloads: $(lisp)/loaddefs.el $(LOADDEFS) doit
73817
46d85206101d (setwins): Remove.
Juanma Barranquero <lekktu@gmail.com>
parents: 71233
diff changeset
171 @echo Directories: . $(WINS_ALMOST)
37807
1b20100095bc (compile-files-CMD, bootstrap-clean-CMD): Use
Andrew Innes <andrewi@gnu.org>
parents: 37384
diff changeset
172 $(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
173 --eval $(ARGQUOTE)(setq find-file-hook nil find-file-suppress-same-file-warnings t)$(ARGQUOTE) \
73817
46d85206101d (setwins): Remove.
Juanma Barranquero <lekktu@gmail.com>
parents: 71233
diff changeset
174 -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
175
66160
172dcc84fa71 Use $(lisp) when referencing files in the lisp directory.
Jason Rumney <jasonr@gnu.org>
parents: 66159
diff changeset
176 $(lisp)/subdirs.el:
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
177 $(MAKE) $(MFLAGS) update-subdirs
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
178
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
179 # Need separate version for sh and native cmd.exe
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
180 update-subdirs: update-subdirs-$(SHELLTYPE)
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
181
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
182 update-subdirs-CMD: doit
66160
172dcc84fa71 Use $(lisp) when referencing files in the lisp directory.
Jason Rumney <jasonr@gnu.org>
parents: 66159
diff changeset
183 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
184 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
185 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
186 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
187 @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
188 echo ))>> $(lisp)/subdirs.el
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
189
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
190 update-subdirs-SH: doit
49482
a5390a508759 (update-subdirs-SH): Create lisp/subdirs.el.
Juanma Barranquero <lekktu@gmail.com>
parents: 49459
diff changeset
191 $(srcdir)/update-subdirs $(lisp); \
49259
d6211ef9bbb4 (loaddefs.el): Invoke make to build stub file
Andrew Innes <andrewi@gnu.org>
parents: 47727
diff changeset
192 for file in $(WINS); do \
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
193 $(srcdir)/update-subdirs $$file; \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
194 done;
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
195
66058
702baea25eb3 (MH-E-SRC): New. Used by mh-autoloads.
Bill Wohler <wohler@newt.com>
parents: 64769
diff changeset
196 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
197
67952
cd2a2de85cae (cvs-update): New target.
Eli Zaretskii <eliz@gnu.org>
parents: 67795
diff changeset
198 # This is useful after "cvs up".
cd2a2de85cae (cvs-update): New target.
Eli Zaretskii <eliz@gnu.org>
parents: 67795
diff changeset
199 cvs-update: recompile autoloads finder-data custom-deps
cd2a2de85cae (cvs-update): New target.
Eli Zaretskii <eliz@gnu.org>
parents: 67795
diff changeset
200
46629
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
201 # Update the AUTHORS file.
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
202
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
203 update-authors:
84416
846d91182da4 (update-authors): Add etc/ to AUTHORS.
Juri Linkov <juri@jurta.org>
parents: 82140
diff changeset
204 $(emacs) -l authors -f batch-update-authors $(srcdir)/etc/AUTHORS $(srcdir)
46629
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
205
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
206 TAGS: $(lisptagsfiles1) $(lisptagsfiles2)
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
207 $(ETAGS) $(lisptagsfiles1) $(lisptagsfiles2)
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
208
46629
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
209 TAGS-LISP: $(lisptagsfiles1) $(lisptagsfiles2)
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
210 $(ETAGS) -o TAGS-LISP $(lisptagsfiles1) $(lisptagsfiles2)
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
211
33904
c96ec3fcc61b (.SUFFIXES): Add .SUFFIXES.
Andrew Innes <andrewi@gnu.org>
parents: 31677
diff changeset
212 .SUFFIXES: .elc .el
c96ec3fcc61b (.SUFFIXES): Add .SUFFIXES.
Andrew Innes <andrewi@gnu.org>
parents: 31677
diff changeset
213
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
214 .el.elc:
87181
a0d11703c35e (check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents: 86371
diff changeset
215 -$(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $<
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
216
61527
020a384cb96d (DONTCOMPILE): Remove list.
Lute Kamstra <lute@gnu.org>
parents: 57797
diff changeset
217 # Compile all Lisp files, but don't recompile those that are up to
020a384cb96d (DONTCOMPILE): Remove list.
Lute Kamstra <lute@gnu.org>
parents: 57797
diff changeset
218 # date. Some files don't actually get compiled because they set the
020a384cb96d (DONTCOMPILE): Remove list.
Lute Kamstra <lute@gnu.org>
parents: 57797
diff changeset
219 # local variable no-byte-compile.
46629
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
220
61527
020a384cb96d (DONTCOMPILE): Remove list.
Lute Kamstra <lute@gnu.org>
parents: 57797
diff changeset
221 # All .elc files are made writable before compilation in case we
020a384cb96d (DONTCOMPILE): Remove list.
Lute Kamstra <lute@gnu.org>
parents: 57797
diff changeset
222 # checked out read-only (CVS option -r). Files MUST be compiled one by
020a384cb96d (DONTCOMPILE): Remove list.
Lute Kamstra <lute@gnu.org>
parents: 57797
diff changeset
223 # one. If we compile several files in a row we can't make sure that
020a384cb96d (DONTCOMPILE): Remove list.
Lute Kamstra <lute@gnu.org>
parents: 57797
diff changeset
224 # the compilation environment is clean. We also set the load-path of
020a384cb96d (DONTCOMPILE): Remove list.
Lute Kamstra <lute@gnu.org>
parents: 57797
diff changeset
225 # the Emacs used for compilation to the current directory and its
020a384cb96d (DONTCOMPILE): Remove list.
Lute Kamstra <lute@gnu.org>
parents: 57797
diff changeset
226 # subdirectories, to make sure require's and load's in the files being
020a384cb96d (DONTCOMPILE): Remove list.
Lute Kamstra <lute@gnu.org>
parents: 57797
diff changeset
227 # compiled find the right files.
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
228
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
229 # 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
230 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
231
46781
d93e5af9e50e (compile-after-backup): Renamed from `compile'.
Richard M. Stallman <rms@gnu.org>
parents: 46757
diff changeset
232 compile-CMD:
56151
9ef25bd8db0d Double percent signs in for loops.
Jason Rumney <jasonr@gnu.org>
parents: 56026
diff changeset
233 # -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
234 for %%f in ($(COMPILE_FIRST)) do \
87181
a0d11703c35e (check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents: 86371
diff changeset
235 $(emacs) -l loaddefs $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile-if-not-done %%f
56151
9ef25bd8db0d Double percent signs in for loops.
Jason Rumney <jasonr@gnu.org>
parents: 56026
diff changeset
236 for %%f in (. $(WINS)) do for %%g in (%%f/*.el) do \
87181
a0d11703c35e (check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents: 86371
diff changeset
237 $(emacs) -l loaddefs $(BYTE_COMPILE_EXTRA_FLAGS) -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
238
46781
d93e5af9e50e (compile-after-backup): Renamed from `compile'.
Richard M. Stallman <rms@gnu.org>
parents: 46757
diff changeset
239 compile-SH:
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
240 # 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
241 for el in $(COMPILE_FIRST); do \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
242 echo Compiling $$el; \
87181
a0d11703c35e (check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents: 86371
diff changeset
243 $(emacs) -l loaddefs $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile-if-not-done $$el; \
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
244 done
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
245 for dir in $(lisp) $(WINS); do \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
246 for el in $$dir/*.el; do \
46629
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
247 if test -f $$el; \
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
248 then \
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
249 echo Compiling $$el; \
87181
a0d11703c35e (check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents: 86371
diff changeset
250 $(emacs) -l loaddefs $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile-if-not-done $$el; \
46629
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
251 fi \
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
252 done; \
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
253 done
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
254
61527
020a384cb96d (DONTCOMPILE): Remove list.
Lute Kamstra <lute@gnu.org>
parents: 57797
diff changeset
255 # Compile all Lisp files. This is like `compile' but compiles files
020a384cb96d (DONTCOMPILE): Remove list.
Lute Kamstra <lute@gnu.org>
parents: 57797
diff changeset
256 # unconditionally. Some files don't actually get compiled because they
020a384cb96d (DONTCOMPILE): Remove list.
Lute Kamstra <lute@gnu.org>
parents: 57797
diff changeset
257 # set the local variable no-byte-compile.
020a384cb96d (DONTCOMPILE): Remove list.
Lute Kamstra <lute@gnu.org>
parents: 57797
diff changeset
258
66160
172dcc84fa71 Use $(lisp) when referencing files in the lisp directory.
Jason Rumney <jasonr@gnu.org>
parents: 66159
diff changeset
259 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
260
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
261 compile-always-CMD:
56151
9ef25bd8db0d Double percent signs in for loops.
Jason Rumney <jasonr@gnu.org>
parents: 56026
diff changeset
262 # -for %%f in ($(lisp) $(WINS)) do for %%g in (%%f\*.elc) do @attrib -r %%g
87181
a0d11703c35e (check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents: 86371
diff changeset
263 for %%f in ($(COMPILE_FIRST)) do $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile %%f
a0d11703c35e (check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents: 86371
diff changeset
264 for %%f in (. $(WINS)) do for %%g in (%%f/*.el) do $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile %%f/%%g
46629
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-always-SH:
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
267 # 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
268 for el in $(COMPILE_FIRST); do \
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
269 echo Compiling $$el; \
87181
a0d11703c35e (check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents: 86371
diff changeset
270 $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $$el || exit 1; \
46629
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
271 done
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
272 for dir in $(lisp) $(WINS); do \
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
273 for el in $$dir/*.el; do \
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
274 echo Compiling $$el; \
87181
a0d11703c35e (check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents: 86371
diff changeset
275 $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $$el || exit 1; \
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
276 done; \
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
277 done
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
278
46629
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
279 compile-calc: compile-calc-$(SHELLTYPE)
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
280
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
281 compile-calc-CMD:
87181
a0d11703c35e (check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents: 86371
diff changeset
282 for %%f in ($(lisp)/calc/*.el) do $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile %%f
46629
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
283
47727
53a1d514b214 Add "no-byte-compile: t" to subdirs.el.
Juanma Barranquero <lekktu@gmail.com>
parents: 47039
diff changeset
284 compile-calc-SH:
46629
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
285 for el in $(lisp)/calc/*.el; do \
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
286 echo Compiling $$el; \
87181
a0d11703c35e (check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents: 86371
diff changeset
287 $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $$el || exit 1; \
46629
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
288 done
73124278175b (DONTCOMPILE): Remove cus-start.el.
Andrew Innes <andrewi@gnu.org>
parents: 44192
diff changeset
289
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
290 # 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
291 # exists, make a backup of it.
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
292
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
293 backup-compiled-files:
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
294 -mv $(lisp)/elc.tar.gz $(lisp)/elc.tar.gz~
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
295 -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
296
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
297 # Compile Lisp files, but save old compiled files first.
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
298
46781
d93e5af9e50e (compile-after-backup): Renamed from `compile'.
Richard M. Stallman <rms@gnu.org>
parents: 46757
diff changeset
299 compile-after-backup: backup-compiled-files compile-always
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
300
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
301 # 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
302 # 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
303 # .elc is present.
68165
2b8858692354 (MH_E_SRC): Synchronize with Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 67952
diff changeset
304 # 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
305 # 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
306 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
307 $(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
308
87181
a0d11703c35e (check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents: 86371
diff changeset
309 # CC Mode uses a compile time macro system which causes a compile time
a0d11703c35e (check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents: 86371
diff changeset
310 # dependency in cc-mode.elc on the macros in cc-langs.el and the
a0d11703c35e (check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents: 86371
diff changeset
311 # version string in cc-defs.el.
a0d11703c35e (check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents: 86371
diff changeset
312 $(lisp)/progmodes/cc-mode.elc: \
a0d11703c35e (check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents: 86371
diff changeset
313 $(lisp)/progmodes/cc-mode.el \
a0d11703c35e (check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents: 86371
diff changeset
314 $(lisp)/progmodes/cc-langs.el \
a0d11703c35e (check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents: 86371
diff changeset
315 $(lisp)/progmodes/cc-defs.el
a0d11703c35e (check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents: 86371
diff changeset
316 $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $(lisp)/progmodes/cc-mode.el
a0d11703c35e (check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents: 86371
diff changeset
317
92942
e5878cb053f7 ($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents: 92117
diff changeset
318 $(lisp)/calendar/cal-loaddefs.el:
e5878cb053f7 ($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents: 92117
diff changeset
319 "$(EMACS)" $(EMACSOPT) -l autoload \
e5878cb053f7 ($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents: 92117
diff changeset
320 --eval "(setq generate-autoload-cookie \";;;###cal-autoload\")" \
e5878cb053f7 ($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents: 92117
diff changeset
321 --eval "(setq find-file-suppress-same-file-warnings t)" \
e5878cb053f7 ($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents: 92117
diff changeset
322 --eval "(setq make-backup-files nil)" \
e5878cb053f7 ($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents: 92117
diff changeset
323 -f w32-batch-update-autoloads "$(lisp)/calendar/cal-loaddefs.el" \
e5878cb053f7 ($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents: 92117
diff changeset
324 ./calendar
e5878cb053f7 ($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents: 92117
diff changeset
325
e5878cb053f7 ($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents: 92117
diff changeset
326 $(lisp)/calendar/diary-loaddefs.el:
e5878cb053f7 ($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents: 92117
diff changeset
327 "$(EMACS)" $(EMACSOPT) -l autoload \
e5878cb053f7 ($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents: 92117
diff changeset
328 --eval "(setq generate-autoload-cookie \";;;###diary-autoload\")" \
e5878cb053f7 ($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents: 92117
diff changeset
329 --eval "(setq find-file-suppress-same-file-warnings t)" \
e5878cb053f7 ($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents: 92117
diff changeset
330 --eval "(setq make-backup-files nil)" \
e5878cb053f7 ($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents: 92117
diff changeset
331 -f w32-batch-update-autoloads $(lisp)/calendar/diary-loaddefs.el \
e5878cb053f7 ($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents: 92117
diff changeset
332 ./calendar
e5878cb053f7 ($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents: 92117
diff changeset
333
e5878cb053f7 ($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents: 92117
diff changeset
334 $(lisp)/calendar/hol-loaddefs.el:
e5878cb053f7 ($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents: 92117
diff changeset
335 "$(EMACS)" $(EMACSOPT) -l autoload \
e5878cb053f7 ($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents: 92117
diff changeset
336 --eval "(setq generate-autoload-cookie \";;;###holiday-autoload\")" \
e5878cb053f7 ($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents: 92117
diff changeset
337 --eval "(setq find-file-suppress-same-file-warnings t)" \
e5878cb053f7 ($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents: 92117
diff changeset
338 --eval "(setq make-backup-files nil)" \
e5878cb053f7 ($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents: 92117
diff changeset
339 -f w32-batch-update-autoloads $(lisp)/calendar/hol-loaddefs.el \
e5878cb053f7 ($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents: 92117
diff changeset
340 ./calendar
e5878cb053f7 ($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
parents: 92117
diff changeset
341
66058
702baea25eb3 (MH-E-SRC): New. Used by mh-autoloads.
Bill Wohler <wohler@newt.com>
parents: 64769
diff changeset
342 # 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
343 # 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
344 # 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
345 MH_E_SRC = $(lisp)/mh-e/mh-acros.el $(lisp)/mh-e/mh-alias.el \
68467
ab5d3aa997df (WINS): Add erc.
Juanma Barranquero <lekktu@gmail.com>
parents: 68165
diff changeset
346 $(lisp)/mh-e/mh-buffers.el $(lisp)/mh-e/mh-compat.el \
ab5d3aa997df (WINS): Add erc.
Juanma Barranquero <lekktu@gmail.com>
parents: 68165
diff changeset
347 $(lisp)/mh-e/mh-comp.el $(lisp)/mh-e/mh-e.el \
ab5d3aa997df (WINS): Add erc.
Juanma Barranquero <lekktu@gmail.com>
parents: 68165
diff changeset
348 $(lisp)/mh-e/mh-folder.el $(lisp)/mh-e/mh-funcs.el \
ab5d3aa997df (WINS): Add erc.
Juanma Barranquero <lekktu@gmail.com>
parents: 68165
diff changeset
349 $(lisp)/mh-e/mh-gnus.el $(lisp)/mh-e/mh-identity.el \
ab5d3aa997df (WINS): Add erc.
Juanma Barranquero <lekktu@gmail.com>
parents: 68165
diff changeset
350 $(lisp)/mh-e/mh-inc.el $(lisp)/mh-e/mh-junk.el \
ab5d3aa997df (WINS): Add erc.
Juanma Barranquero <lekktu@gmail.com>
parents: 68165
diff changeset
351 $(lisp)/mh-e/mh-letter.el $(lisp)/mh-e/mh-limit.el \
ab5d3aa997df (WINS): Add erc.
Juanma Barranquero <lekktu@gmail.com>
parents: 68165
diff changeset
352 $(lisp)/mh-e/mh-mime.el $(lisp)/mh-e/mh-print.el \
ab5d3aa997df (WINS): Add erc.
Juanma Barranquero <lekktu@gmail.com>
parents: 68165
diff changeset
353 $(lisp)/mh-e/mh-scan.el $(lisp)/mh-e/mh-search.el \
ab5d3aa997df (WINS): Add erc.
Juanma Barranquero <lekktu@gmail.com>
parents: 68165
diff changeset
354 $(lisp)/mh-e/mh-seq.el $(lisp)/mh-e/mh-show.el \
ab5d3aa997df (WINS): Add erc.
Juanma Barranquero <lekktu@gmail.com>
parents: 68165
diff changeset
355 $(lisp)/mh-e/mh-speed.el $(lisp)/mh-e/mh-thread.el \
ab5d3aa997df (WINS): Add erc.
Juanma Barranquero <lekktu@gmail.com>
parents: 68165
diff changeset
356 $(lisp)/mh-e/mh-tool-bar.el $(lisp)/mh-e/mh-utils.el \
ab5d3aa997df (WINS): Add erc.
Juanma Barranquero <lekktu@gmail.com>
parents: 68165
diff changeset
357 $(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
358
77589
84823e4631e0 ($(lisp)/mh-e/mh-loaddefs.el): Use ./mh-e instead of $(lisp)/mh-e.
Eli Zaretskii <eliz@gnu.org>
parents: 75410
diff changeset
359 # See the commentary for autoloads above for why we use ./mh-e below
84823e4631e0 ($(lisp)/mh-e/mh-loaddefs.el): Use ./mh-e instead of $(lisp)/mh-e.
Eli Zaretskii <eliz@gnu.org>
parents: 75410
diff changeset
360 # instead of $(lisp)/mh-e.
66058
702baea25eb3 (MH-E-SRC): New. Used by mh-autoloads.
Bill Wohler <wohler@newt.com>
parents: 64769
diff changeset
361 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
362 $(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
363 $(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
364 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
365 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
366 "$(EMACS)" $(EMACSOPT) \
66159
f007e250392a (pre-mh-loaddefs.el-SH, pre-mh-loaddefs.el-CMD):
Jason Rumney <jasonr@gnu.org>
parents: 66068
diff changeset
367 -l autoload \
f007e250392a (pre-mh-loaddefs.el-SH, pre-mh-loaddefs.el-CMD):
Jason Rumney <jasonr@gnu.org>
parents: 66068
diff changeset
368 --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
369 --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
370 --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
371 -f w32-batch-update-autoloads \
77589
84823e4631e0 ($(lisp)/mh-e/mh-loaddefs.el): Use ./mh-e instead of $(lisp)/mh-e.
Eli Zaretskii <eliz@gnu.org>
parents: 75410
diff changeset
372 "$(lisp)/mh-e/mh-loaddefs.el" ./mh-e
66159
f007e250392a (pre-mh-loaddefs.el-SH, pre-mh-loaddefs.el-CMD):
Jason Rumney <jasonr@gnu.org>
parents: 66068
diff changeset
373
f007e250392a (pre-mh-loaddefs.el-SH, pre-mh-loaddefs.el-CMD):
Jason Rumney <jasonr@gnu.org>
parents: 66068
diff changeset
374 pre-mh-loaddefs.el-SH:
66058
702baea25eb3 (MH-E-SRC): New. Used by mh-autoloads.
Bill Wohler <wohler@newt.com>
parents: 64769
diff changeset
375 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
376 echo ";;" >> $@
79721
73661ddc7ac7 Add 2008 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 78236
diff changeset
377 echo ";; Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc." >> $@
68165
2b8858692354 (MH_E_SRC): Synchronize with Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 67952
diff changeset
378 echo ";; Author: Bill Wohler <wohler@newt.com>" >> $@
2b8858692354 (MH_E_SRC): Synchronize with Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 67952
diff changeset
379 echo ";; Keywords: mail" >> $@
66058
702baea25eb3 (MH-E-SRC): New. Used by mh-autoloads.
Bill Wohler <wohler@newt.com>
parents: 64769
diff changeset
380 echo ";;; Commentary:" >> $@
702baea25eb3 (MH-E-SRC): New. Used by mh-autoloads.
Bill Wohler <wohler@newt.com>
parents: 64769
diff changeset
381 echo ";;; Change Log:" >> $@
702baea25eb3 (MH-E-SRC): New. Used by mh-autoloads.
Bill Wohler <wohler@newt.com>
parents: 64769
diff changeset
382 echo ";;; Code:" >> $@
702baea25eb3 (MH-E-SRC): New. Used by mh-autoloads.
Bill Wohler <wohler@newt.com>
parents: 64769
diff changeset
383 echo " " >> $@
702baea25eb3 (MH-E-SRC): New. Used by mh-autoloads.
Bill Wohler <wohler@newt.com>
parents: 64769
diff changeset
384 echo "(provide 'mh-loaddefs)" >> $@
68165
2b8858692354 (MH_E_SRC): Synchronize with Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 67952
diff changeset
385 echo ";; Local Variables:" >> $@
2b8858692354 (MH_E_SRC): Synchronize with Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 67952
diff changeset
386 echo ";; version-control: never" >> $@
2b8858692354 (MH_E_SRC): Synchronize with Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 67952
diff changeset
387 echo ";; no-byte-compile: t" >> $@
2b8858692354 (MH_E_SRC): Synchronize with Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 67952
diff changeset
388 echo ";; no-update-autoloads: t" >> $@
2b8858692354 (MH_E_SRC): Synchronize with Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 67952
diff changeset
389 echo ";; End:" >> $@
66058
702baea25eb3 (MH-E-SRC): New. Used by mh-autoloads.
Bill Wohler <wohler@newt.com>
parents: 64769
diff changeset
390 echo ";;; mh-loaddefs.el ends here" >> $@
702baea25eb3 (MH-E-SRC): New. Used by mh-autoloads.
Bill Wohler <wohler@newt.com>
parents: 64769
diff changeset
391
66159
f007e250392a (pre-mh-loaddefs.el-SH, pre-mh-loaddefs.el-CMD):
Jason Rumney <jasonr@gnu.org>
parents: 66068
diff changeset
392 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
393 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
394 echo ;;>> $@
79721
73661ddc7ac7 Add 2008 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 78236
diff changeset
395 echo ;; Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.>> $@
68165
2b8858692354 (MH_E_SRC): Synchronize with Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 67952
diff changeset
396 echo ;; Author: Bill Wohler (wohler@newt.com)>> $@
2b8858692354 (MH_E_SRC): Synchronize with Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 67952
diff changeset
397 echo ;; Keywords: mail>> $@
66159
f007e250392a (pre-mh-loaddefs.el-SH, pre-mh-loaddefs.el-CMD):
Jason Rumney <jasonr@gnu.org>
parents: 66068
diff changeset
398 echo ;;; Commentary:>> $@
f007e250392a (pre-mh-loaddefs.el-SH, pre-mh-loaddefs.el-CMD):
Jason Rumney <jasonr@gnu.org>
parents: 66068
diff changeset
399 echo ;;; Change Log:>> $@
f007e250392a (pre-mh-loaddefs.el-SH, pre-mh-loaddefs.el-CMD):
Jason Rumney <jasonr@gnu.org>
parents: 66068
diff changeset
400 echo ;;; Code:>> $@
f007e250392a (pre-mh-loaddefs.el-SH, pre-mh-loaddefs.el-CMD):
Jason Rumney <jasonr@gnu.org>
parents: 66068
diff changeset
401 echo. >> $@
f007e250392a (pre-mh-loaddefs.el-SH, pre-mh-loaddefs.el-CMD):
Jason Rumney <jasonr@gnu.org>
parents: 66068
diff changeset
402 echo (provide 'mh-loaddefs)>> $@
68165
2b8858692354 (MH_E_SRC): Synchronize with Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 67952
diff changeset
403 echo ;; Local Variables:>> $@
2b8858692354 (MH_E_SRC): Synchronize with Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 67952
diff changeset
404 echo ;; version-control: never>> $@
2b8858692354 (MH_E_SRC): Synchronize with Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 67952
diff changeset
405 echo ;; no-byte-compile: t>> $@
2b8858692354 (MH_E_SRC): Synchronize with Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 67952
diff changeset
406 echo ;; no-update-autoloads: t>> $@
2b8858692354 (MH_E_SRC): Synchronize with Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents: 67952
diff changeset
407 echo ;; End:>> $@
66159
f007e250392a (pre-mh-loaddefs.el-SH, pre-mh-loaddefs.el-CMD):
Jason Rumney <jasonr@gnu.org>
parents: 66068
diff changeset
408 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
409
52512
c7ef303c76f2 Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-48
Miles Bader <miles@gnu.org>
parents: 52401
diff changeset
410 # 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
411 #
63341
dccd42ff9e1a (bootstrap-clean-CMD, bootstrap-clean-SH): Don't use an old loaddefs.el,
Eli Zaretskii <eliz@gnu.org>
parents: 61527
diff changeset
412 # 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
413 # 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
414 # 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
415 # 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
416 # 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
417 # 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
418 # 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
419 #
c7ef303c76f2 Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-48
Miles Bader <miles@gnu.org>
parents: 52401
diff changeset
420 # 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
421 # sources only.
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
422
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
423 # Need separate version for sh and native cmd.exe
74838
5b6a90ea7037 (bootstrap-clean): Run bootstrap-clean-$(SHELLTYPE) explicitly in a recursive
Eli Zaretskii <eliz@gnu.org>
parents: 74548
diff changeset
424 # Note that bootstrap-clean-$(SHELLTYPE) copies ldefs-boot.el to loaddefs.el,
5b6a90ea7037 (bootstrap-clean): Run bootstrap-clean-$(SHELLTYPE) explicitly in a recursive
Eli Zaretskii <eliz@gnu.org>
parents: 74548
diff changeset
425 # and thus the almost-empty loaddefs.el crafted by the $(lisp)/loaddefs.el
5b6a90ea7037 (bootstrap-clean): Run bootstrap-clean-$(SHELLTYPE) explicitly in a recursive
Eli Zaretskii <eliz@gnu.org>
parents: 74548
diff changeset
426 # target can NOT be built _after_ bootstrap-clean-$(SHELLTYPE) does its
5b6a90ea7037 (bootstrap-clean): Run bootstrap-clean-$(SHELLTYPE) explicitly in a recursive
Eli Zaretskii <eliz@gnu.org>
parents: 74548
diff changeset
427 # thing, or else an empty loaddefs.el will overwrite the full one.
5b6a90ea7037 (bootstrap-clean): Run bootstrap-clean-$(SHELLTYPE) explicitly in a recursive
Eli Zaretskii <eliz@gnu.org>
parents: 74548
diff changeset
428 bootstrap-clean: $(lisp)/loaddefs.el
5b6a90ea7037 (bootstrap-clean): Run bootstrap-clean-$(SHELLTYPE) explicitly in a recursive
Eli Zaretskii <eliz@gnu.org>
parents: 74548
diff changeset
429 $(MAKE) $(MFLAGS) bootstrap-clean-$(SHELLTYPE)
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
430
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
431 bootstrap-clean-CMD:
71233
b75b26c046ad (bootstrap, $(lisp)/mh-e/mh-loaddefs.el): Quote $(EMACS).
Eli Zaretskii <eliz@gnu.org>
parents: 71163
diff changeset
432 # 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
433 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
434 -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
435
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
436 bootstrap-clean-SH:
71233
b75b26c046ad (bootstrap, $(lisp)/mh-e/mh-loaddefs.el): Quote $(EMACS).
Eli Zaretskii <eliz@gnu.org>
parents: 71163
diff changeset
437 # 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
438 # -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
439 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
440 -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
441
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
442 # 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
443 # 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
444 # 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
445
66058
702baea25eb3 (MH-E-SRC): New. Used by mh-autoloads.
Bill Wohler <wohler@newt.com>
parents: 64769
diff changeset
446 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
447 - $(DEL) "$(EMACS)"
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
448
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
449 #
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
450 # 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
451 # Windows 95 makes this harder than it should be.
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
452 #
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
453 install:
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
454 - mkdir "$(INSTALL_DIR)/lisp"
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
455 - $(DEL) ../same-dir.tst
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
456 - $(DEL) "$(INSTALL_DIR)/same-dir.tst"
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
457 echo SameDirTest > "$(INSTALL_DIR)/same-dir.tst"
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
458 #ifdef COPY_LISP_SOURCE
78117
2c9041566e2f (install-lisp-SH, install-lisp-CMD): New targets.
Eli Zaretskii <eliz@gnu.org>
parents: 77589
diff changeset
459 $(IFNOTSAMEDIR) $(MAKE) $(MFLAGS) install-lisp-$(SHELLTYPE) $(ENDIF)
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
460 #else
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
461 # $(IFNOTSAMEDIR) $(CP_DIR) *.elc "$(INSTALL_DIR)/lisp" $(ENDIF)
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
462 # $(IFNOTSAMEDIR) $(CP) cus-load.el "$(INSTALL_DIR)/lisp" $(ENDIF)
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
463 # $(IFNOTSAMEDIR) $(CP) forms*.el "$(INSTALL_DIR)/lisp" $(ENDIF)
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
464 # $(IFNOTSAMEDIR) $(CP) patcomp.el "$(INSTALL_DIR)/lisp" $(ENDIF)
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
465 # $(IFNOTSAMEDIR) $(CP) subdirs.el "$(INSTALL_DIR)/lisp" $(ENDIF)
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
466 # $(IFNOTSAMEDIR) $(CP) version.el "$(INSTALL_DIR)/lisp" $(ENDIF)
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
467 # $(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
468 # $(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
469 # $(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
470 # $(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
471 # $(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
472 #endif
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
473 - $(DEL) ../same-dir.tst
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
474 - $(DEL) "$(INSTALL_DIR)/same-dir.tst"
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
475
78117
2c9041566e2f (install-lisp-SH, install-lisp-CMD): New targets.
Eli Zaretskii <eliz@gnu.org>
parents: 77589
diff changeset
476 # Need to copy *.el files first, to avoid "source file is newer" annoyance
2c9041566e2f (install-lisp-SH, install-lisp-CMD): New targets.
Eli Zaretskii <eliz@gnu.org>
parents: 77589
diff changeset
477 # since cp does not preserve time stamps
2c9041566e2f (install-lisp-SH, install-lisp-CMD): New targets.
Eli Zaretskii <eliz@gnu.org>
parents: 77589
diff changeset
478 install-lisp-SH:
2c9041566e2f (install-lisp-SH, install-lisp-CMD): New targets.
Eli Zaretskii <eliz@gnu.org>
parents: 77589
diff changeset
479 cp -f *.el "$(INSTALL_DIR)/lisp"
78170
bb683c32591e (install-lisp-SH, install-lisp-CMD): New targets.
Eli Zaretskii <eliz@gnu.org>
parents: 78117
diff changeset
480 for dir in $(WINS); do [ -d "$(INSTALL_DIR)/lisp/$$dir" ] || mkdir "$(INSTALL_DIR)/lisp/$$dir"; done
bb683c32591e (install-lisp-SH, install-lisp-CMD): New targets.
Eli Zaretskii <eliz@gnu.org>
parents: 78117
diff changeset
481 for dir in $(WINS); do cp -f $$dir/*.el "$(INSTALL_DIR)/lisp/$$dir"; done
78117
2c9041566e2f (install-lisp-SH, install-lisp-CMD): New targets.
Eli Zaretskii <eliz@gnu.org>
parents: 77589
diff changeset
482 for dir in . $(WINS); do cp $$dir/*.elc "$(INSTALL_DIR)/lisp/$$dir"; done
2c9041566e2f (install-lisp-SH, install-lisp-CMD): New targets.
Eli Zaretskii <eliz@gnu.org>
parents: 77589
diff changeset
483
2c9041566e2f (install-lisp-SH, install-lisp-CMD): New targets.
Eli Zaretskii <eliz@gnu.org>
parents: 77589
diff changeset
484 install-lisp-CMD:
2c9041566e2f (install-lisp-SH, install-lisp-CMD): New targets.
Eli Zaretskii <eliz@gnu.org>
parents: 77589
diff changeset
485 cp -f *.el "$(INSTALL_DIR)/lisp"
78170
bb683c32591e (install-lisp-SH, install-lisp-CMD): New targets.
Eli Zaretskii <eliz@gnu.org>
parents: 78117
diff changeset
486 for %%f in ($(WINS)) do if not exist "$(INSTALL_DIR)/lisp/%%f" mkdir "$(INSTALL_DIR)/lisp/%%f"
78117
2c9041566e2f (install-lisp-SH, install-lisp-CMD): New targets.
Eli Zaretskii <eliz@gnu.org>
parents: 77589
diff changeset
487 for %%f in ($(WINS)) do cp -f %%f/*.el "$(INSTALL_DIR)/lisp/%%f"
2c9041566e2f (install-lisp-SH, install-lisp-CMD): New targets.
Eli Zaretskii <eliz@gnu.org>
parents: 77589
diff changeset
488 for %%f in (. $(WINS)) do cp -f %%f/*.elc "$(INSTALL_DIR)/lisp/%%f"
2c9041566e2f (install-lisp-SH, install-lisp-CMD): New targets.
Eli Zaretskii <eliz@gnu.org>
parents: 77589
diff changeset
489
87181
a0d11703c35e (check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents: 86371
diff changeset
490 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
a0d11703c35e (check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents: 86371
diff changeset
491 # this can break with GNU Make 3.81 and later if sh.exe is used.
a0d11703c35e (check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents: 86371
diff changeset
492 check-declare:
a0d11703c35e (check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents: 86371
diff changeset
493 $(emacs) -l $(lisp)/emacs-lisp/check-declare --eval $(ARGQUOTE)(check-declare-directory $(DQUOTE)$(lisp)$(DQUOTE))$(ARGQUOTE)
a0d11703c35e (check-declare): New target.
Eli Zaretskii <eliz@gnu.org>
parents: 86371
diff changeset
494
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
495 #
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
496 # Maintenance
47727
53a1d514b214 Add "no-byte-compile: t" to subdirs.el.
Juanma Barranquero <lekktu@gmail.com>
parents: 47039
diff changeset
497 #
78170
bb683c32591e (install-lisp-SH, install-lisp-CMD): New targets.
Eli Zaretskii <eliz@gnu.org>
parents: 78117
diff changeset
498 # We used to delete *~ here, but that might inadvertently remove
bb683c32591e (install-lisp-SH, install-lisp-CMD): New targets.
Eli Zaretskii <eliz@gnu.org>
parents: 78117
diff changeset
499 # precious files if it happens to match their short 8+3 aliases.
31631
011566e20a32 Revert to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 31620
diff changeset
500 clean:
78170
bb683c32591e (install-lisp-SH, install-lisp-CMD): New targets.
Eli Zaretskii <eliz@gnu.org>
parents: 78117
diff changeset
501 - $(DEL) *.el~