]> code.delx.au - gnu-emacs/blob - lisp/makefile.w32-in
(gnus-group-name-decode): Autoload.
[gnu-emacs] / lisp / makefile.w32-in
1 # -*- Makefile -*- for GNU Emacs on the Microsoft W32 API.
2 # Copyright (C) 2000, 2001, 2002, 2003, 2004,
3 # 2005, 2006, 2007 Free Software Foundation, Inc.
4 #
5 # This file is part of GNU Emacs.
6 #
7 # GNU Emacs is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 3, or (at your option)
10 # any later version.
11 #
12 # GNU Emacs is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
16 #
17 # You should have received a copy of the GNU General Public License
18 # along with GNU Emacs; see the file COPYING. If not, write to the
19 # Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 # Boston, MA 02110-1301, USA.
21 #
22
23 ALL =
24
25 all: $(ALL)
26
27 SQUOTE='
28 # '
29
30 lisp = $(CURDIR)
31 srcdir = $(CURDIR)/..
32
33 # You can specify a different executable on the make command line,
34 # e.g. "make EMACS=../src/emacs ...".
35
36 EMACS = $(THISDIR)/../bin/emacs.exe
37
38 # Command line flags for Emacs. This must include --multibyte,
39 # otherwise some files will not compile.
40
41 EMACSOPT = -batch --no-init-file --no-site-file --multibyte
42
43 # Extra flags to pass to the byte compiler
44 BYTE_COMPILE_EXTRA_FLAGS =
45 # For example to not display the undefined function warnings you can use this:
46 # BYTE_COMPILE_EXTRA_FLAGS = --eval '(setq byte-compile-warnings (quote (not unresolved)))'
47 # The example above is just for developers, it should not be used by default.
48
49 # Set EMACSLOADPATH correctly (already defined in environment).
50 EMACSLOADPATH=$(lisp)
51
52 lisptagsfiles1 = $(lisp)/*.el
53 lisptagsfiles2 = $(lisp)/*/*.el
54 ETAGS = "../lib-src/$(BLD)/etags"
55
56 # Files to compile before others during a bootstrap. This is done to
57 # speed up the bootstrap process. The CC files are compiled first
58 # because CC mode tweaks the compilation process, and requiring
59 # cc-mode when it is not compiled doesn't work during the
60 # bootstrapping.
61
62 COMPILE_FIRST = \
63 $(lisp)/emacs-lisp/byte-opt.el \
64 $(lisp)/emacs-lisp/bytecomp.el \
65 $(lisp)/subr.el \
66 $(lisp)/progmodes/cc-mode.el \
67 $(lisp)/progmodes/cc-vars.el
68
69 # The actual Emacs command run in the targets below.
70 # The quotes around $(EMACS) are here because the user could type
71 # it with forward slashes and without quotes, which will fail if
72 # the shell is cmd.exe.
73
74 emacs = "$(EMACS)" $(EMACSOPT)
75
76 # Have to define the list of subdirs manually when not using sh.
77 WINS_ALMOST=\
78 calc \
79 calendar \
80 emacs-lisp \
81 emulation \
82 erc \
83 eshell \
84 gnus \
85 international \
86 language \
87 mail \
88 mh-e \
89 net \
90 nxml \
91 play \
92 progmodes \
93 term \
94 textmodes \
95 url
96
97 WINS= $(WINS_ALMOST) \
98 obsolete
99
100 doit:
101
102 $(lisp)/cus-load.el:
103 touch $@
104 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
105 # this can break with GNU Make 3.81 and later if sh.exe is used.
106 custom-deps: $(lisp)/cus-load.el $(lisp)/loaddefs.el doit
107 @echo Directories: $(WINS)
108 -$(emacs) -l cus-dep --eval $(ARGQUOTE)(setq find-file-hook nil)$(ARGQUOTE) -f custom-make-dependencies $(lisp) $(WINS)
109
110 finder-data: $(lisp)/loaddefs.el doit
111 @echo Directories: $(WINS)
112 $(emacs) -l finder -f finder-compile-keywords-make-dist $(lisp) $(WINS)
113
114 $(lisp)/loaddefs.el:
115 $(MAKE) $(MFLAGS) loaddefs.el-$(SHELLTYPE)
116 cp loaddefs.el-$(SHELLTYPE) $@
117 rm loaddefs.el-$(SHELLTYPE)
118
119 loaddefs.el-SH:
120 echo ";;; loaddefs.el --- automatically extracted autoloads" > $@
121 echo ";;" >> $@; echo ";;; Code:" >> $@
122 echo "(autoload 'define-minor-mode \"easy-mmode\")" >>$@
123 echo "(autoload 'define-ccl-program \"ccl\")" >>$@
124 echo "(autoload 'regexp-opt \"regexp-opt\")" >>$@
125 echo "(autoload 'string-to-list \"mule-util\")" >>$@
126 echo "(autoload 'define-derived-mode \"derived\")" >>$@
127 echo "(autoload 'encoded-kbd-mode \"encoded-kb\")" >>$@
128 echo "(defvar cvs-global-menu nil)" >>$@
129 echo "\f" >> $@
130 echo ";;; Local Variables:" >> $@
131 echo ";;; version-control: never" >> $@
132 echo ";;; no-byte-compile: t" >> $@
133 echo ";;; no-update-autoloads: t" >> $@
134 echo ";;; End:" >> $@
135 echo ";;; loaddefs.el ends here" >> $@
136
137 loaddefs.el-CMD:
138 echo ;;; loaddefs.el --- automatically extracted autoloads> $@
139 echo ;;; Code:>> $@
140 echo (autoload 'define-minor-mode "easy-mmode")>> $@
141 echo (autoload 'define-ccl-program "ccl")>> $@
142 echo (autoload 'regexp-opt "regexp-opt")>> $@
143 echo (autoload 'string-to-list "mule-util")>> $@
144 echo (autoload 'define-derived-mode "derived")>> $@
145 echo (autoload 'encoded-kbd-mode "encoded-kb")>> $@
146 echo (defvar cvs-global-menu nil)>> $@
147 echo.\f>> $@
148 echo ;;; Local Variables:>> $@
149 echo ;;; version-control: never>> $@
150 echo ;;; no-byte-compile: t>> $@
151 echo ;;; no-update-autoloads: t>> $@
152 echo ;;; End:>> $@
153 echo ;;; loaddefs.el ends here>> $@
154
155 # Use . instead of $(lisp) because $(lisp) is an absolute file name,
156 # including a drive letter and any leading directories, so the generated
157 # loaddefs.el will mention file names that on other machine reference
158 # possibly non-existent directories.
159 #
160 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
161 # this can break with GNU Make 3.81 and later if sh.exe is used.
162 autoloads: $(lisp)/loaddefs.el doit
163 @echo Directories: . $(WINS_ALMOST)
164 $(emacs) -l autoload \
165 --eval $(ARGQUOTE)(setq find-file-hook nil find-file-suppress-same-file-warnings t)$(ARGQUOTE) \
166 -f w32-batch-update-autoloads "$(lisp)/loaddefs.el" . $(WINS_ALMOST)
167
168 $(lisp)/subdirs.el:
169 $(MAKE) $(MFLAGS) update-subdirs
170
171 # Need separate version for sh and native cmd.exe
172 update-subdirs: update-subdirs-$(SHELLTYPE)
173
174 update-subdirs-CMD: doit
175 echo ;; -*- no-byte-compile: t -*-> $(lisp)/subdirs.el
176 echo ;; In load-path, after this directory should come>> $(lisp)/subdirs.el
177 echo ;; certain of its subdirectories. Here we specify them.>> $(lisp)/subdirs.el
178 echo (normal-top-level-add-to-load-path $(SQUOTE)(>> $(lisp)/subdirs.el
179 @for %%d in ($(WINS)) do if not (%%d)==(term) echo "%%d">> $(lisp)/subdirs.el
180 echo ))>> $(lisp)/subdirs.el
181
182 update-subdirs-SH: doit
183 $(srcdir)/update-subdirs $(lisp); \
184 for file in $(WINS); do \
185 $(srcdir)/update-subdirs $$file; \
186 done;
187
188 updates: update-subdirs autoloads mh-autoloads finder-data custom-deps
189
190 # This is useful after "cvs up".
191 cvs-update: recompile autoloads finder-data custom-deps
192
193 # Update the AUTHORS file.
194
195 update-authors:
196 $(emacs) -l authors -f batch-update-authors $(srcdir)/etc/AUTHORS $(srcdir)
197
198 TAGS: $(lisptagsfiles1) $(lisptagsfiles2)
199 $(ETAGS) $(lisptagsfiles1) $(lisptagsfiles2)
200
201 TAGS-LISP: $(lisptagsfiles1) $(lisptagsfiles2)
202 $(ETAGS) -o TAGS-LISP $(lisptagsfiles1) $(lisptagsfiles2)
203
204 .SUFFIXES: .elc .el
205
206 .el.elc:
207 -$(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $<
208
209 # Compile all Lisp files, but don't recompile those that are up to
210 # date. Some files don't actually get compiled because they set the
211 # local variable no-byte-compile.
212
213 # All .elc files are made writable before compilation in case we
214 # checked out read-only (CVS option -r). Files MUST be compiled one by
215 # one. If we compile several files in a row we can't make sure that
216 # the compilation environment is clean. We also set the load-path of
217 # the Emacs used for compilation to the current directory and its
218 # subdirectories, to make sure require's and load's in the files being
219 # compiled find the right files.
220
221 # Need separate version for sh and native cmd.exe
222 compile: $(lisp)/subdirs.el mh-autoloads compile-$(SHELLTYPE) doit
223
224 compile-CMD:
225 # -for %%f in ($(lisp) $(WINS)) do for %%g in (%%f\*.elc) do @attrib -r %%g
226 for %%f in ($(COMPILE_FIRST)) do \
227 $(emacs) -l loaddefs $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile-if-not-done %%f
228 for %%f in (. $(WINS)) do for %%g in (%%f/*.el) do \
229 $(emacs) -l loaddefs $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile-if-not-done %%f/%%g
230
231 compile-SH:
232 # for elc in $(lisp)/*.elc $(lisp)/*/*.elc; do attrib -r $$elc; done
233 for el in $(COMPILE_FIRST); do \
234 echo Compiling $$el; \
235 $(emacs) -l loaddefs $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile-if-not-done $$el; \
236 done
237 for dir in $(lisp) $(WINS); do \
238 for el in $$dir/*.el; do \
239 if test -f $$el; \
240 then \
241 echo Compiling $$el; \
242 $(emacs) -l loaddefs $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile-if-not-done $$el; \
243 fi \
244 done; \
245 done
246
247 # Compile all Lisp files. This is like `compile' but compiles files
248 # unconditionally. Some files don't actually get compiled because they
249 # set the local variable no-byte-compile.
250
251 compile-always: $(lisp)/subdirs.el compile-always-$(SHELLTYPE) doit
252
253 compile-always-CMD:
254 # -for %%f in ($(lisp) $(WINS)) do for %%g in (%%f\*.elc) do @attrib -r %%g
255 for %%f in ($(COMPILE_FIRST)) do $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile %%f
256 for %%f in (. $(WINS)) do for %%g in (%%f/*.el) do $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile %%f/%%g
257
258 compile-always-SH:
259 # for elc in $(lisp)/*.elc $(lisp)/*/*.elc; do attrib -r $$elc; done
260 for el in $(COMPILE_FIRST); do \
261 echo Compiling $$el; \
262 $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $$el || exit 1; \
263 done
264 for dir in $(lisp) $(WINS); do \
265 for el in $$dir/*.el; do \
266 echo Compiling $$el; \
267 $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $$el || exit 1; \
268 done; \
269 done
270
271 compile-calc: compile-calc-$(SHELLTYPE)
272
273 compile-calc-CMD:
274 for %%f in ($(lisp)/calc/*.el) do $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile %%f
275
276 compile-calc-SH:
277 for el in $(lisp)/calc/*.el; do \
278 echo Compiling $$el; \
279 $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $$el || exit 1; \
280 done
281
282 # Backup compiled Lisp files in elc.tar.gz. If that file already
283 # exists, make a backup of it.
284
285 backup-compiled-files:
286 -mv $(lisp)/elc.tar.gz $(lisp)/elc.tar.gz~
287 -tar czf $(lisp)/elc.tar.gz $(lisp)/*.elc $(lisp)/*/*.elc
288
289 # Compile Lisp files, but save old compiled files first.
290
291 compile-after-backup: backup-compiled-files compile-always
292
293 # Recompile all Lisp files which are newer than their .elc files.
294 # Note that this doesn't create .elc files. It only recompiles if an
295 # .elc is present.
296 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
297 # this can break with GNU Make 3.81 and later if sh.exe is used.
298 recompile: mh-autoloads doit $(lisp)/progmodes/cc-mode.elc
299 $(emacs) --eval $(ARGQUOTE)(batch-byte-recompile-directory 0)$(ARGQUOTE) $(lisp)
300
301 # CC Mode uses a compile time macro system which causes a compile time
302 # dependency in cc-mode.elc on the macros in cc-langs.el and the
303 # version string in cc-defs.el.
304 $(lisp)/progmodes/cc-mode.elc: \
305 $(lisp)/progmodes/cc-mode.el \
306 $(lisp)/progmodes/cc-langs.el \
307 $(lisp)/progmodes/cc-defs.el
308 $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $(lisp)/progmodes/cc-mode.el
309
310 # Update MH-E internal autoloads. These are not to be confused with
311 # the autoloads for the MH-E entry points, which are already in
312 # loaddefs.el.
313 MH_E_SRC = $(lisp)/mh-e/mh-acros.el $(lisp)/mh-e/mh-alias.el \
314 $(lisp)/mh-e/mh-buffers.el $(lisp)/mh-e/mh-compat.el \
315 $(lisp)/mh-e/mh-comp.el $(lisp)/mh-e/mh-e.el \
316 $(lisp)/mh-e/mh-folder.el $(lisp)/mh-e/mh-funcs.el \
317 $(lisp)/mh-e/mh-gnus.el $(lisp)/mh-e/mh-identity.el \
318 $(lisp)/mh-e/mh-inc.el $(lisp)/mh-e/mh-junk.el \
319 $(lisp)/mh-e/mh-letter.el $(lisp)/mh-e/mh-limit.el \
320 $(lisp)/mh-e/mh-mime.el $(lisp)/mh-e/mh-print.el \
321 $(lisp)/mh-e/mh-scan.el $(lisp)/mh-e/mh-search.el \
322 $(lisp)/mh-e/mh-seq.el $(lisp)/mh-e/mh-show.el \
323 $(lisp)/mh-e/mh-speed.el $(lisp)/mh-e/mh-thread.el \
324 $(lisp)/mh-e/mh-tool-bar.el $(lisp)/mh-e/mh-utils.el \
325 $(lisp)/mh-e/mh-xface.el
326
327 # See the commentary for autoloads above for why we use ./mh-e below
328 # instead of $(lisp)/mh-e.
329 mh-autoloads: $(lisp)/mh-e/mh-loaddefs.el
330 $(lisp)/mh-e/mh-loaddefs.el: $(MH_E_SRC)
331 $(MAKE) $(MFLAGS) pre-mh-loaddefs.el-$(SHELLTYPE)
332 cp pre-mh-loaddefs.el-$(SHELLTYPE) $@
333 rm pre-mh-loaddefs.el-$(SHELLTYPE)
334 "$(EMACS)" $(EMACSOPT) \
335 -l autoload \
336 --eval "(setq generate-autoload-cookie \";;;###mh-autoload\")" \
337 --eval "(setq find-file-suppress-same-file-warnings t)" \
338 --eval "(setq make-backup-files nil)" \
339 -f w32-batch-update-autoloads \
340 "$(lisp)/mh-e/mh-loaddefs.el" ./mh-e
341
342 pre-mh-loaddefs.el-SH:
343 echo ";;; mh-loaddefs.el --- automatically extracted autoloads" > $@
344 echo ";;" >> $@
345 echo ";; Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc." >> $@
346 echo ";; Author: Bill Wohler <wohler@newt.com>" >> $@
347 echo ";; Keywords: mail" >> $@
348 echo ";;; Commentary:" >> $@
349 echo ";;; Change Log:" >> $@
350 echo ";;; Code:" >> $@
351 echo "\f" >> $@
352 echo "(provide 'mh-loaddefs)" >> $@
353 echo ";; Local Variables:" >> $@
354 echo ";; version-control: never" >> $@
355 echo ";; no-byte-compile: t" >> $@
356 echo ";; no-update-autoloads: t" >> $@
357 echo ";; End:" >> $@
358 echo ";;; mh-loaddefs.el ends here" >> $@
359
360 pre-mh-loaddefs.el-CMD:
361 echo ;;; mh-loaddefs.el --- automatically extracted autoloads> $@
362 echo ;;>> $@
363 echo ;; Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.>> $@
364 echo ;; Author: Bill Wohler (wohler@newt.com)>> $@
365 echo ;; Keywords: mail>> $@
366 echo ;;; Commentary:>> $@
367 echo ;;; Change Log:>> $@
368 echo ;;; Code:>> $@
369 echo.\f>> $@
370 echo (provide 'mh-loaddefs)>> $@
371 echo ;; Local Variables:>> $@
372 echo ;; version-control: never>> $@
373 echo ;; no-byte-compile: t>> $@
374 echo ;; no-update-autoloads: t>> $@
375 echo ;; End:>> $@
376 echo ;;; mh-loaddefs.el ends here>> $@
377
378 # Prepare a bootstrap in the lisp subdirectory.
379 #
380 # Build loaddefs.el to make sure it's up-to-date. If it's not, that
381 # might lead to errors during the bootstrap because something fails to
382 # autoload as expected. If there is no emacs binary, then we can't
383 # build autoloads yet. In that case we have to use ldefs-boot.el;
384 # bootstrap should always work with ldefs-boot.el. (Because
385 # loaddefs.el is an automatically generated file, we don't want to
386 # store it in the source repository).
387 #
388 # Remove compiled Lisp files so that bootstrap-emacs will be built from
389 # sources only.
390
391 # Need separate version for sh and native cmd.exe
392 # Note that bootstrap-clean-$(SHELLTYPE) copies ldefs-boot.el to loaddefs.el,
393 # and thus the almost-empty loaddefs.el crafted by the $(lisp)/loaddefs.el
394 # target can NOT be built _after_ bootstrap-clean-$(SHELLTYPE) does its
395 # thing, or else an empty loaddefs.el will overwrite the full one.
396 bootstrap-clean: $(lisp)/loaddefs.el
397 $(MAKE) $(MFLAGS) bootstrap-clean-$(SHELLTYPE)
398
399 bootstrap-clean-CMD:
400 # if exist "$(EMACS)" $(MAKE) $(MFLAGS) autoloads
401 cp $(lisp)/ldefs-boot.el $(lisp)/loaddefs.el
402 -for %%f in (. $(WINS)) do for %%g in (%%f\*.elc) do @$(DEL) %%g
403
404 bootstrap-clean-SH:
405 # if test -f "$(EMACS)"; then $(MAKE) $(MFLAGS) autoloads; fi
406 # -rm -f $(lisp)/*.elc $(lisp)/*/*.elc
407 cp $(lisp)/ldefs-boot.el $(lisp)/loaddefs.el
408 -for dir in . $(WINS); do rm -f $$dir/*.elc; done
409
410 # Generate/update files for the bootstrap process.
411 # When done, remove bootstrap-emacs from ../bin, so that
412 # it will not be mistaken for an installed binary.
413
414 bootstrap: update-subdirs autoloads mh-autoloads compile finder-data custom-deps
415 - $(DEL) "$(EMACS)"
416
417 #
418 # Assuming INSTALL_DIR is defined, copy the elisp files to it
419 # Windows 95 makes this harder than it should be.
420 #
421 install:
422 - mkdir "$(INSTALL_DIR)/lisp"
423 - $(DEL) ../same-dir.tst
424 - $(DEL) "$(INSTALL_DIR)/same-dir.tst"
425 echo SameDirTest > "$(INSTALL_DIR)/same-dir.tst"
426 #ifdef COPY_LISP_SOURCE
427 $(IFNOTSAMEDIR) $(MAKE) $(MFLAGS) install-lisp-$(SHELLTYPE) $(ENDIF)
428 #else
429 # $(IFNOTSAMEDIR) $(CP_DIR) *.elc "$(INSTALL_DIR)/lisp" $(ENDIF)
430 # $(IFNOTSAMEDIR) $(CP) cus-load.el "$(INSTALL_DIR)/lisp" $(ENDIF)
431 # $(IFNOTSAMEDIR) $(CP) forms*.el "$(INSTALL_DIR)/lisp" $(ENDIF)
432 # $(IFNOTSAMEDIR) $(CP) patcomp.el "$(INSTALL_DIR)/lisp" $(ENDIF)
433 # $(IFNOTSAMEDIR) $(CP) subdirs.el "$(INSTALL_DIR)/lisp" $(ENDIF)
434 # $(IFNOTSAMEDIR) $(CP) version.el "$(INSTALL_DIR)/lisp" $(ENDIF)
435 # $(IFNOTSAMEDIR) $(CP) mail/blessmail.el "$(INSTALL_DIR)/lisp/mail" $(ENDIF)
436 # $(IFNOTSAMEDIR) $(CP) mail/sc.el "$(INSTALL_DIR)/lisp/mail" $(ENDIF)
437 # $(IFNOTSAMEDIR) $(CP) play/bruce.el "$(INSTALL_DIR)/lisp/play" $(ENDIF)
438 # $(IFNOTSAMEDIR) $(CP) international/latin-*.el "$(INSTALL_DIR)/lisp/international" $(ENDIF)
439 # $(IFNOTSAMEDIR) $(CP) international/mule-conf.el "$(INSTALL_DIR)/lisp/international" $(ENDIF)
440 #endif
441 - $(DEL) ../same-dir.tst
442 - $(DEL) "$(INSTALL_DIR)/same-dir.tst"
443
444 # Need to copy *.el files first, to avoid "source file is newer" annoyance
445 # since cp does not preserve time stamps
446 install-lisp-SH:
447 cp -f *.el "$(INSTALL_DIR)/lisp"
448 for dir in $(WINS); do [ -d "$(INSTALL_DIR)/lisp/$$dir" ] || mkdir "$(INSTALL_DIR)/lisp/$$dir"; done
449 for dir in $(WINS); do cp -f $$dir/*.el "$(INSTALL_DIR)/lisp/$$dir"; done
450 for dir in . $(WINS); do cp $$dir/*.elc "$(INSTALL_DIR)/lisp/$$dir"; done
451
452 install-lisp-CMD:
453 cp -f *.el "$(INSTALL_DIR)/lisp"
454 for %%f in ($(WINS)) do if not exist "$(INSTALL_DIR)/lisp/%%f" mkdir "$(INSTALL_DIR)/lisp/%%f"
455 for %%f in ($(WINS)) do cp -f %%f/*.el "$(INSTALL_DIR)/lisp/%%f"
456 for %%f in (. $(WINS)) do cp -f %%f/*.elc "$(INSTALL_DIR)/lisp/%%f"
457
458 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
459 # this can break with GNU Make 3.81 and later if sh.exe is used.
460 check-declare:
461 $(emacs) -l $(lisp)/emacs-lisp/check-declare --eval $(ARGQUOTE)(check-declare-directory $(DQUOTE)$(lisp)$(DQUOTE))$(ARGQUOTE)
462
463 #
464 # Maintenance
465 #
466 # We used to delete *~ here, but that might inadvertently remove
467 # precious files if it happens to match their short 8+3 aliases.
468 clean:
469 - $(DEL) *.el~