Mercurial > emacs
annotate lisp/Makefile @ 26112:a2591ab1ddaf
(dontcompilefiles): Obsoleted.
(DONTCOMPILE): Added emacs-lisp/cl-specs.el.
(EL): Unused.
(temacs): Removed (unused).
(cus-load.el, finder-inf.el, loaddefs.el): New targets to build a dummy
version of the file (necessary for the update to work properly).
(autoloads): Force the use of `pwd`/loaddefs.el.
(updates); Redefined in terms of other targets to reduce redundancy.
(.el.elc): New default rule, just in case you want it.
(compile): Use a single invocation of Emacs.
(bootstrap-compile); Unneeded.
(autoloads-with-other-emacs): Unneeded now that autoloads is fixed.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Wed, 20 Oct 1999 00:37:35 +0000 |
parents | e7205498db63 |
children | 760a5b91fe7f |
rev | line source |
---|---|
17392 | 1 # |
2 # Maintenance productions for the Lisp directory | |
3 # | |
25917
663097d932a4
(EMACSOPT, DONTCOMPILE, EL): New.
Gerd Moellmann <gerd@gnu.org>
parents:
25340
diff
changeset
|
4 |
663097d932a4
(EMACSOPT, DONTCOMPILE, EL): New.
Gerd Moellmann <gerd@gnu.org>
parents:
25340
diff
changeset
|
5 # You can specify a different executable on the make command line, |
663097d932a4
(EMACSOPT, DONTCOMPILE, EL): New.
Gerd Moellmann <gerd@gnu.org>
parents:
25340
diff
changeset
|
6 # e.g. "make EMACS=../src/emacs ...". |
663097d932a4
(EMACSOPT, DONTCOMPILE, EL): New.
Gerd Moellmann <gerd@gnu.org>
parents:
25340
diff
changeset
|
7 |
26112
a2591ab1ddaf
(dontcompilefiles): Obsoleted.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25972
diff
changeset
|
8 EMACS = emacs |
25917
663097d932a4
(EMACSOPT, DONTCOMPILE, EL): New.
Gerd Moellmann <gerd@gnu.org>
parents:
25340
diff
changeset
|
9 |
663097d932a4
(EMACSOPT, DONTCOMPILE, EL): New.
Gerd Moellmann <gerd@gnu.org>
parents:
25340
diff
changeset
|
10 # Command line flags for Emacs. This must include --multibyte, |
663097d932a4
(EMACSOPT, DONTCOMPILE, EL): New.
Gerd Moellmann <gerd@gnu.org>
parents:
25340
diff
changeset
|
11 # otherwise some files will not compile. |
663097d932a4
(EMACSOPT, DONTCOMPILE, EL): New.
Gerd Moellmann <gerd@gnu.org>
parents:
25340
diff
changeset
|
12 |
663097d932a4
(EMACSOPT, DONTCOMPILE, EL): New.
Gerd Moellmann <gerd@gnu.org>
parents:
25340
diff
changeset
|
13 EMACSOPT = --no-init-file --no-site-file --multibyte -batch |
663097d932a4
(EMACSOPT, DONTCOMPILE, EL): New.
Gerd Moellmann <gerd@gnu.org>
parents:
25340
diff
changeset
|
14 |
17392 | 15 SOURCES = *.el COPYING Makefile |
21924
e37aa6f8f583
(TAGS-LISP): New target.
Richard M. Stallman <rms@gnu.org>
parents:
21756
diff
changeset
|
16 lisptagsfiles1 = [a-zA-Z]*.el |
e37aa6f8f583
(TAGS-LISP): New target.
Richard M. Stallman <rms@gnu.org>
parents:
21756
diff
changeset
|
17 lisptagsfiles2 = [a-zA-Z]*/[a-zA-Z]*.el |
18962 | 18 ETAGS = ../lib-src/etags |
17392 | 19 |
25917
663097d932a4
(EMACSOPT, DONTCOMPILE, EL): New.
Gerd Moellmann <gerd@gnu.org>
parents:
25340
diff
changeset
|
20 # Files which should not be compiled. All file names must be relative |
663097d932a4
(EMACSOPT, DONTCOMPILE, EL): New.
Gerd Moellmann <gerd@gnu.org>
parents:
25340
diff
changeset
|
21 # to the `lisp' directory. |
26112
a2591ab1ddaf
(dontcompilefiles): Obsoleted.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25972
diff
changeset
|
22 # - emacs-lisp/cl-specs.el: only contains `def-edebug-spec's so there's |
a2591ab1ddaf
(dontcompilefiles): Obsoleted.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25972
diff
changeset
|
23 # no point compiling it, although it doesn't hurt. |
25917
663097d932a4
(EMACSOPT, DONTCOMPILE, EL): New.
Gerd Moellmann <gerd@gnu.org>
parents:
25340
diff
changeset
|
24 DONTCOMPILE = bindings.el mail/blessmail.el play/bruce.el cus-load.el \ |
663097d932a4
(EMACSOPT, DONTCOMPILE, EL): New.
Gerd Moellmann <gerd@gnu.org>
parents:
25340
diff
changeset
|
25 cus-start.el forms-d2.el forms-pass.el \ |
663097d932a4
(EMACSOPT, DONTCOMPILE, EL): New.
Gerd Moellmann <gerd@gnu.org>
parents:
25340
diff
changeset
|
26 international/latin-1.el international/latin-2.el \ |
663097d932a4
(EMACSOPT, DONTCOMPILE, EL): New.
Gerd Moellmann <gerd@gnu.org>
parents:
25340
diff
changeset
|
27 international/latin-3.el international/latin-4.el \ |
663097d932a4
(EMACSOPT, DONTCOMPILE, EL): New.
Gerd Moellmann <gerd@gnu.org>
parents:
25340
diff
changeset
|
28 international/latin-5.el \ |
663097d932a4
(EMACSOPT, DONTCOMPILE, EL): New.
Gerd Moellmann <gerd@gnu.org>
parents:
25340
diff
changeset
|
29 loaddefs.el loadup.el international/mule-conf.el patcomp.el \ |
663097d932a4
(EMACSOPT, DONTCOMPILE, EL): New.
Gerd Moellmann <gerd@gnu.org>
parents:
25340
diff
changeset
|
30 paths.el mail/sc.el subdirs.el term-nasty.el version.el \ |
26112
a2591ab1ddaf
(dontcompilefiles): Obsoleted.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25972
diff
changeset
|
31 generic-x.el international/latin-8.el international/latin-9.el \ |
a2591ab1ddaf
(dontcompilefiles): Obsoleted.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25972
diff
changeset
|
32 emacs-lisp/cl-specs.el finder-inf.el |
25917
663097d932a4
(EMACSOPT, DONTCOMPILE, EL): New.
Gerd Moellmann <gerd@gnu.org>
parents:
25340
diff
changeset
|
33 |
663097d932a4
(EMACSOPT, DONTCOMPILE, EL): New.
Gerd Moellmann <gerd@gnu.org>
parents:
25340
diff
changeset
|
34 # The actual Emacs command run in the targets below. |
663097d932a4
(EMACSOPT, DONTCOMPILE, EL): New.
Gerd Moellmann <gerd@gnu.org>
parents:
25340
diff
changeset
|
35 |
663097d932a4
(EMACSOPT, DONTCOMPILE, EL): New.
Gerd Moellmann <gerd@gnu.org>
parents:
25340
diff
changeset
|
36 emacs = $(EMACS) $(EMACSOPT) |
663097d932a4
(EMACSOPT, DONTCOMPILE, EL): New.
Gerd Moellmann <gerd@gnu.org>
parents:
25340
diff
changeset
|
37 |
25961
24f775e3facc
(setwins): abstract out the command to find subdirectories
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25941
diff
changeset
|
38 # Common command to find subdirectories |
24f775e3facc
(setwins): abstract out the command to find subdirectories
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25941
diff
changeset
|
39 |
25964
2a98301789cd
(setwins): generalized a little.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25961
diff
changeset
|
40 setwins=subdirs=`find $$wd -type d -print`; \ |
25961
24f775e3facc
(setwins): abstract out the command to find subdirectories
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25941
diff
changeset
|
41 for file in $$subdirs; do \ |
24f775e3facc
(setwins): abstract out the command to find subdirectories
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25941
diff
changeset
|
42 case $$file in */Old | */RCS | */CVS | */CVS/* | */=* ) ;; \ |
24f775e3facc
(setwins): abstract out the command to find subdirectories
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25941
diff
changeset
|
43 *) wins="$$wins $$file" ;; \ |
24f775e3facc
(setwins): abstract out the command to find subdirectories
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25941
diff
changeset
|
44 esac; \ |
24f775e3facc
(setwins): abstract out the command to find subdirectories
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25941
diff
changeset
|
45 done |
25917
663097d932a4
(EMACSOPT, DONTCOMPILE, EL): New.
Gerd Moellmann <gerd@gnu.org>
parents:
25340
diff
changeset
|
46 |
17394
b793e8f5a9c2
Added cus-load.el target.
Per Abrahamsen <abraham@dina.kvl.dk>
parents:
17392
diff
changeset
|
47 doit: |
b793e8f5a9c2
Added cus-load.el target.
Per Abrahamsen <abraham@dina.kvl.dk>
parents:
17392
diff
changeset
|
48 |
26112
a2591ab1ddaf
(dontcompilefiles): Obsoleted.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25972
diff
changeset
|
49 cus-load.el: |
a2591ab1ddaf
(dontcompilefiles): Obsoleted.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25972
diff
changeset
|
50 touch $@ |
a2591ab1ddaf
(dontcompilefiles): Obsoleted.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25972
diff
changeset
|
51 custom-deps: cus-load.el doit |
25964
2a98301789cd
(setwins): generalized a little.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25961
diff
changeset
|
52 wd=.; $(setwins); \ |
21756
ed07a8592f60
(custom-deps, updates): Allow cus-dep to be compiled.
Richard M. Stallman <rms@gnu.org>
parents:
21753
diff
changeset
|
53 echo Directories: $$wins; \ |
25917
663097d932a4
(EMACSOPT, DONTCOMPILE, EL): New.
Gerd Moellmann <gerd@gnu.org>
parents:
25340
diff
changeset
|
54 $(emacs) -l cus-dep -f custom-make-dependencies $$wins |
17399
04fc73bb3416
(finder-inf.el, autoloads): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
17394
diff
changeset
|
55 |
26112
a2591ab1ddaf
(dontcompilefiles): Obsoleted.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25972
diff
changeset
|
56 finder-inf.el: |
a2591ab1ddaf
(dontcompilefiles): Obsoleted.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25972
diff
changeset
|
57 echo "(provide 'finder-inf)" >> $@ |
a2591ab1ddaf
(dontcompilefiles): Obsoleted.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25972
diff
changeset
|
58 finder-data: finder-inf.el doit |
25964
2a98301789cd
(setwins): generalized a little.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25961
diff
changeset
|
59 wd=.; $(setwins); \ |
21756
ed07a8592f60
(custom-deps, updates): Allow cus-dep to be compiled.
Richard M. Stallman <rms@gnu.org>
parents:
21753
diff
changeset
|
60 echo Directories: $$wins; \ |
25917
663097d932a4
(EMACSOPT, DONTCOMPILE, EL): New.
Gerd Moellmann <gerd@gnu.org>
parents:
25340
diff
changeset
|
61 $(emacs) -l finder -f finder-compile-keywords-make-dist $$wins |
17399
04fc73bb3416
(finder-inf.el, autoloads): New targets.
Richard M. Stallman <rms@gnu.org>
parents:
17394
diff
changeset
|
62 |
26112
a2591ab1ddaf
(dontcompilefiles): Obsoleted.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25972
diff
changeset
|
63 loaddefs.el: |
a2591ab1ddaf
(dontcompilefiles): Obsoleted.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25972
diff
changeset
|
64 echo ";;; loaddefs.el --- automatically extracted autoloads" >> $@ |
a2591ab1ddaf
(dontcompilefiles): Obsoleted.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25972
diff
changeset
|
65 echo ";;" >> $@; echo ";;; Code:" >> $@ |
a2591ab1ddaf
(dontcompilefiles): Obsoleted.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25972
diff
changeset
|
66 echo "" >> $@ |
a2591ab1ddaf
(dontcompilefiles): Obsoleted.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25972
diff
changeset
|
67 echo ";;; Local Variables:" >> $@ |
a2591ab1ddaf
(dontcompilefiles): Obsoleted.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25972
diff
changeset
|
68 echo ";;; version-control: never" >> $@ |
a2591ab1ddaf
(dontcompilefiles): Obsoleted.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25972
diff
changeset
|
69 echo ";;; no-byte-compile: t" >> $@ |
a2591ab1ddaf
(dontcompilefiles): Obsoleted.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25972
diff
changeset
|
70 echo ";;; no-update-autoloads: t" >> $@ |
a2591ab1ddaf
(dontcompilefiles): Obsoleted.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25972
diff
changeset
|
71 echo ";;; End:" >> $@ |
a2591ab1ddaf
(dontcompilefiles): Obsoleted.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25972
diff
changeset
|
72 echo ";;; loaddefs.el ends here" >> $@ |
a2591ab1ddaf
(dontcompilefiles): Obsoleted.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25972
diff
changeset
|
73 autoloads: loaddefs.el doit |
25964
2a98301789cd
(setwins): generalized a little.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25961
diff
changeset
|
74 wd=.; $(setwins); \ |
21756
ed07a8592f60
(custom-deps, updates): Allow cus-dep to be compiled.
Richard M. Stallman <rms@gnu.org>
parents:
21753
diff
changeset
|
75 echo Directories: $$wins; \ |
26112
a2591ab1ddaf
(dontcompilefiles): Obsoleted.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25972
diff
changeset
|
76 $(emacs) --eval '(setq generated-autoload-file "'`pwd`'/loaddefs.el")' -f batch-update-autoloads $$wins |
17746
e3508d038aee
(autoloads, custom-deps, finder-data):
Richard M. Stallman <rms@gnu.org>
parents:
17743
diff
changeset
|
77 |
26112
a2591ab1ddaf
(dontcompilefiles): Obsoleted.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25972
diff
changeset
|
78 subdirs.el: |
a2591ab1ddaf
(dontcompilefiles): Obsoleted.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25972
diff
changeset
|
79 $(MAKE) $(MFLAGS) update-subdirs |
17748
689e217c6c8e
(update-subdirs): New target.
Richard M. Stallman <rms@gnu.org>
parents:
17746
diff
changeset
|
80 update-subdirs: doit |
25964
2a98301789cd
(setwins): generalized a little.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25961
diff
changeset
|
81 wd=.; $(setwins); \ |
17748
689e217c6c8e
(update-subdirs): New target.
Richard M. Stallman <rms@gnu.org>
parents:
17746
diff
changeset
|
82 for file in $$wins; do \ |
689e217c6c8e
(update-subdirs): New target.
Richard M. Stallman <rms@gnu.org>
parents:
17746
diff
changeset
|
83 ../update-subdirs $$file; \ |
689e217c6c8e
(update-subdirs): New target.
Richard M. Stallman <rms@gnu.org>
parents:
17746
diff
changeset
|
84 done; |
689e217c6c8e
(update-subdirs): New target.
Richard M. Stallman <rms@gnu.org>
parents:
17746
diff
changeset
|
85 |
26112
a2591ab1ddaf
(dontcompilefiles): Obsoleted.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25972
diff
changeset
|
86 updates: update-subdirs autoloads finder-data custom-deps |
17394
b793e8f5a9c2
Added cus-load.el target.
Per Abrahamsen <abraham@dina.kvl.dk>
parents:
17392
diff
changeset
|
87 |
21924
e37aa6f8f583
(TAGS-LISP): New target.
Richard M. Stallman <rms@gnu.org>
parents:
21756
diff
changeset
|
88 TAGS: $(lisptagsfiles1) $(lisptagsfiles2) |
e37aa6f8f583
(TAGS-LISP): New target.
Richard M. Stallman <rms@gnu.org>
parents:
21756
diff
changeset
|
89 ${ETAGS} $(lisptagsfiles1) $(lisptagsfiles2) |
e37aa6f8f583
(TAGS-LISP): New target.
Richard M. Stallman <rms@gnu.org>
parents:
21756
diff
changeset
|
90 |
e37aa6f8f583
(TAGS-LISP): New target.
Richard M. Stallman <rms@gnu.org>
parents:
21756
diff
changeset
|
91 TAGS-LISP: $(lispsource)$(lisptagsfiles1) $(lispsource)$(lisptagsfiles2) |
e37aa6f8f583
(TAGS-LISP): New target.
Richard M. Stallman <rms@gnu.org>
parents:
21756
diff
changeset
|
92 ${ETAGS} -o TAGS-LISP \ |
e37aa6f8f583
(TAGS-LISP): New target.
Richard M. Stallman <rms@gnu.org>
parents:
21756
diff
changeset
|
93 $(lispsource)$(lisptagsfiles1) $(lispsource)$(lisptagsfiles2) |
25917
663097d932a4
(EMACSOPT, DONTCOMPILE, EL): New.
Gerd Moellmann <gerd@gnu.org>
parents:
25340
diff
changeset
|
94 |
26112
a2591ab1ddaf
(dontcompilefiles): Obsoleted.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25972
diff
changeset
|
95 .el.elc: subdirs.el |
a2591ab1ddaf
(dontcompilefiles): Obsoleted.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25972
diff
changeset
|
96 -EMACSLOADPATH=`pwd` $(emacs) -f batch-byte-compile $< |
a2591ab1ddaf
(dontcompilefiles): Obsoleted.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25972
diff
changeset
|
97 |
a2591ab1ddaf
(dontcompilefiles): Obsoleted.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25972
diff
changeset
|
98 $(DONTCOMPILE:.el=.elc): |
a2591ab1ddaf
(dontcompilefiles): Obsoleted.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25972
diff
changeset
|
99 -rm -f $@ |
a2591ab1ddaf
(dontcompilefiles): Obsoleted.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25972
diff
changeset
|
100 |
25917
663097d932a4
(EMACSOPT, DONTCOMPILE, EL): New.
Gerd Moellmann <gerd@gnu.org>
parents:
25340
diff
changeset
|
101 # Compile all Lisp files, except those from DONTCOMPILE. This |
663097d932a4
(EMACSOPT, DONTCOMPILE, EL): New.
Gerd Moellmann <gerd@gnu.org>
parents:
25340
diff
changeset
|
102 # compiles files unconditionally. All .elc files are made writable |
663097d932a4
(EMACSOPT, DONTCOMPILE, EL): New.
Gerd Moellmann <gerd@gnu.org>
parents:
25340
diff
changeset
|
103 # before compilation in case we checked out read-only (CVS option -r). |
25936
3223912646d8
(compile): Compile files one by one. Set load-path to
Gerd Moellmann <gerd@gnu.org>
parents:
25917
diff
changeset
|
104 # Files must be compiled one by one, otherwise apparently |
3223912646d8
(compile): Compile files one by one. Set load-path to
Gerd Moellmann <gerd@gnu.org>
parents:
25917
diff
changeset
|
105 # eval-when-compile's in some Lisp files make problems in files being |
3223912646d8
(compile): Compile files one by one. Set load-path to
Gerd Moellmann <gerd@gnu.org>
parents:
25917
diff
changeset
|
106 # compiled later. We also set the load-path of the Emacs used for |
3223912646d8
(compile): Compile files one by one. Set load-path to
Gerd Moellmann <gerd@gnu.org>
parents:
25917
diff
changeset
|
107 # compilation to the current directory and its subdirectories, to |
3223912646d8
(compile): Compile files one by one. Set load-path to
Gerd Moellmann <gerd@gnu.org>
parents:
25917
diff
changeset
|
108 # make sure require's and load's in the files being compiled find |
3223912646d8
(compile): Compile files one by one. Set load-path to
Gerd Moellmann <gerd@gnu.org>
parents:
25917
diff
changeset
|
109 # the right files. |
25917
663097d932a4
(EMACSOPT, DONTCOMPILE, EL): New.
Gerd Moellmann <gerd@gnu.org>
parents:
25340
diff
changeset
|
110 |
26112
a2591ab1ddaf
(dontcompilefiles): Obsoleted.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25972
diff
changeset
|
111 compile: subdirs.el doit |
a2591ab1ddaf
(dontcompilefiles): Obsoleted.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25972
diff
changeset
|
112 find . -name "*.elc" -print | xargs chmod +w; \ |
a2591ab1ddaf
(dontcompilefiles): Obsoleted.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25972
diff
changeset
|
113 wd=.; $(setwins); \ |
a2591ab1ddaf
(dontcompilefiles): Obsoleted.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25972
diff
changeset
|
114 elpat=`echo $$wins | tr '[ ]' '[\012\012]' | \ |
a2591ab1ddaf
(dontcompilefiles): Obsoleted.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25972
diff
changeset
|
115 sed -e 's|\(.\)$$|\1/|' -e 's|^\./||' -e 's|$$|*.el|'`; \ |
a2591ab1ddaf
(dontcompilefiles): Obsoleted.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25972
diff
changeset
|
116 els=`echo $$elpat $(DONTCOMPILE) | tr '[ ]' '[\012\012]' | sort | uniq -u`; \ |
a2591ab1ddaf
(dontcompilefiles): Obsoleted.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25972
diff
changeset
|
117 echo $$els; \ |
a2591ab1ddaf
(dontcompilefiles): Obsoleted.
Stefan Monnier <monnier@iro.umontreal.ca>
parents:
25972
diff
changeset
|
118 EMACSLOADPATH=`pwd` $(emacs) -f batch-byte-compile $$els |
25941
aff7b4b37817
(bootstrap-compile): New target. Compile Lisp
Gerd Moellmann <gerd@gnu.org>
parents:
25936
diff
changeset
|
119 |
25917
663097d932a4
(EMACSOPT, DONTCOMPILE, EL): New.
Gerd Moellmann <gerd@gnu.org>
parents:
25340
diff
changeset
|
120 # Recompile all Lisp files which are newer than their .elc files. |
663097d932a4
(EMACSOPT, DONTCOMPILE, EL): New.
Gerd Moellmann <gerd@gnu.org>
parents:
25340
diff
changeset
|
121 # Note that this doesn't create .elc files. It only recompiles if an |
663097d932a4
(EMACSOPT, DONTCOMPILE, EL): New.
Gerd Moellmann <gerd@gnu.org>
parents:
25340
diff
changeset
|
122 # .elc is present. |
663097d932a4
(EMACSOPT, DONTCOMPILE, EL): New.
Gerd Moellmann <gerd@gnu.org>
parents:
25340
diff
changeset
|
123 |
663097d932a4
(EMACSOPT, DONTCOMPILE, EL): New.
Gerd Moellmann <gerd@gnu.org>
parents:
25340
diff
changeset
|
124 recompile: doit |
663097d932a4
(EMACSOPT, DONTCOMPILE, EL): New.
Gerd Moellmann <gerd@gnu.org>
parents:
25340
diff
changeset
|
125 $(emacs) -f batch-byte-recompile-directory . |
663097d932a4
(EMACSOPT, DONTCOMPILE, EL): New.
Gerd Moellmann <gerd@gnu.org>
parents:
25340
diff
changeset
|
126 |
663097d932a4
(EMACSOPT, DONTCOMPILE, EL): New.
Gerd Moellmann <gerd@gnu.org>
parents:
25340
diff
changeset
|
127 # Makefile ends here. |