diff options
| author | Lute Kamstra | 2005-04-13 09:41:46 +0000 |
|---|---|---|
| committer | Lute Kamstra | 2005-04-13 09:41:46 +0000 |
| commit | 938cbd34716aaa13810f1b1a408b9b80730eb703 (patch) | |
| tree | b70e4f2a49f7e3d599fdc12fcb9d5684a3d56c2c /lisp | |
| parent | 33740d04224981ea5ae288ecb490af593db2eb04 (diff) | |
| download | emacs-938cbd34716aaa13810f1b1a408b9b80730eb703.tar.gz emacs-938cbd34716aaa13810f1b1a408b9b80730eb703.zip | |
(DONTCOMPILE): Remove list.
(compile, compile-always): Don't use DONTCOMPILE.
(update-authors): Load the library in which batch-update-authors is defined.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/Makefile.in | 115 |
1 files changed, 18 insertions, 97 deletions
diff --git a/lisp/Makefile.in b/lisp/Makefile.in index e87ffa6f265..01dbc563bc0 100644 --- a/lisp/Makefile.in +++ b/lisp/Makefile.in | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | # Maintenance productions for the Lisp directory | 1 | # Maintenance productions for the Lisp directory |
| 2 | # Copyright (C) 2000, 01, 03, 2004 Free Software Foundation, Inc. | 2 | # Copyright (C) 2000, 2001, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | # This file is part of GNU Emacs. | 4 | # This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -39,77 +39,6 @@ lisptagsfiles1 = $(lisp)/[a-zA-Z]*.el | |||
| 39 | lisptagsfiles2 = $(lisp)/[a-zA-Z]*/[a-zA-Z]*.el | 39 | lisptagsfiles2 = $(lisp)/[a-zA-Z]*/[a-zA-Z]*.el |
| 40 | ETAGS = ../lib-src/etags | 40 | ETAGS = ../lib-src/etags |
| 41 | 41 | ||
| 42 | # Files which should not be compiled. If you change the name `DONTCOMPILE' | ||
| 43 | # to something different, you'll have to change make-dist as well, and | ||
| 44 | # modify the lists in $lisp and $shortlisp on src/Makefile.in. | ||
| 45 | # | ||
| 46 | # - emacs-lisp/cl-specs.el: only contains `def-edebug-spec's so there's | ||
| 47 | # no point compiling it, although it doesn't hurt. | ||
| 48 | |||
| 49 | DONTCOMPILE = \ | ||
| 50 | $(lisp)/cus-load.el \ | ||
| 51 | $(lisp)/emacs-lisp/cl-specs.el \ | ||
| 52 | $(lisp)/eshell/esh-maint.el \ | ||
| 53 | $(lisp)/eshell/esh-groups.el \ | ||
| 54 | $(lisp)/finder-inf.el \ | ||
| 55 | $(lisp)/forms-d2.el \ | ||
| 56 | $(lisp)/forms-pass.el \ | ||
| 57 | $(lisp)/generic-x.el \ | ||
| 58 | $(lisp)/international/latin-1.el \ | ||
| 59 | $(lisp)/international/latin-2.el \ | ||
| 60 | $(lisp)/international/latin-3.el \ | ||
| 61 | $(lisp)/international/latin-4.el \ | ||
| 62 | $(lisp)/international/latin-5.el \ | ||
| 63 | $(lisp)/international/latin-8.el \ | ||
| 64 | $(lisp)/international/latin-9.el \ | ||
| 65 | $(lisp)/international/mule-conf.el \ | ||
| 66 | $(lisp)/language/czech.el \ | ||
| 67 | $(lisp)/language/devanagari.el \ | ||
| 68 | $(lisp)/language/malayalam.el \ | ||
| 69 | $(lisp)/language/tamil.el \ | ||
| 70 | $(lisp)/language/kannada.el \ | ||
| 71 | $(lisp)/language/english.el \ | ||
| 72 | $(lisp)/language/greek.el \ | ||
| 73 | $(lisp)/language/hebrew.el \ | ||
| 74 | $(lisp)/language/japanese.el \ | ||
| 75 | $(lisp)/language/korean.el \ | ||
| 76 | $(lisp)/language/lao.el \ | ||
| 77 | $(lisp)/language/misc-lang.el \ | ||
| 78 | $(lisp)/language/romanian.el \ | ||
| 79 | $(lisp)/language/slovak.el \ | ||
| 80 | $(lisp)/language/thai.el \ | ||
| 81 | $(lisp)/language/utf-8-lang.el \ | ||
| 82 | $(lisp)/language/georgian.el \ | ||
| 83 | $(lisp)/loaddefs.el \ | ||
| 84 | $(lisp)/ldefs-boot.el \ | ||
| 85 | $(lisp)/loadup.el \ | ||
| 86 | $(lisp)/mail/blessmail.el \ | ||
| 87 | $(lisp)/patcomp.el \ | ||
| 88 | $(lisp)/paths.el \ | ||
| 89 | $(lisp)/play/bruce.el \ | ||
| 90 | $(lisp)/subdirs.el \ | ||
| 91 | $(lisp)/term/internal.el \ | ||
| 92 | $(lisp)/term/AT386.el \ | ||
| 93 | $(lisp)/term/apollo.el \ | ||
| 94 | $(lisp)/term/bobcat.el \ | ||
| 95 | $(lisp)/term/iris-ansi.el \ | ||
| 96 | $(lisp)/term/keyswap.el \ | ||
| 97 | $(lisp)/term/linux.el \ | ||
| 98 | $(lisp)/term/lk201.el \ | ||
| 99 | $(lisp)/term/news.el \ | ||
| 100 | $(lisp)/term/vt102.el \ | ||
| 101 | $(lisp)/term/vt125.el \ | ||
| 102 | $(lisp)/term/vt200.el \ | ||
| 103 | $(lisp)/term/vt201.el \ | ||
| 104 | $(lisp)/term/vt220.el \ | ||
| 105 | $(lisp)/term/vt240.el \ | ||
| 106 | $(lisp)/term/vt300.el \ | ||
| 107 | $(lisp)/term/vt320.el \ | ||
| 108 | $(lisp)/term/vt400.el \ | ||
| 109 | $(lisp)/term/vt420.el \ | ||
| 110 | $(lisp)/term/wyse50.el \ | ||
| 111 | $(lisp)/version.el | ||
| 112 | |||
| 113 | # Elisp files auto-generated. | 42 | # Elisp files auto-generated. |
| 114 | AUTOGENEL = loaddefs.el \ | 43 | AUTOGENEL = loaddefs.el \ |
| 115 | cus-load.el \ | 44 | cus-load.el \ |
| @@ -192,7 +121,7 @@ updates: update-subdirs autoloads finder-data custom-deps | |||
| 192 | # Update the AUTHORS file. | 121 | # Update the AUTHORS file. |
| 193 | 122 | ||
| 194 | update-authors: | 123 | update-authors: |
| 195 | $(emacs) -f batch-update-authors $(srcdir)/AUTHORS $(srcdir) | 124 | $(emacs) -l authors -f batch-update-authors $(srcdir)/AUTHORS $(srcdir) |
| 196 | 125 | ||
| 197 | TAGS: $(lisptagsfiles1) $(lisptagsfiles2) | 126 | TAGS: $(lisptagsfiles1) $(lisptagsfiles2) |
| 198 | els=`echo $(lisptagsfiles1) $(lisptagsfiles2) | sed -e "s,$(lisp)/loaddefs[^ ]*,," -e "s,$(lisp)/ldefs-boot[^ ]*,,"`; \ | 127 | els=`echo $(lisptagsfiles1) $(lisptagsfiles2) | sed -e "s,$(lisp)/loaddefs[^ ]*,," -e "s,$(lisp)/ldefs-boot[^ ]*,,"`; \ |
| @@ -207,31 +136,23 @@ TAGS-LISP: $(lisptagsfiles1) $(lisptagsfiles2) | |||
| 207 | .el.elc: $(lisp)/subdirs.el | 136 | .el.elc: $(lisp)/subdirs.el |
| 208 | -$(emacs) -f batch-byte-compile $< | 137 | -$(emacs) -f batch-byte-compile $< |
| 209 | 138 | ||
| 210 | $(DONTCOMPILE:.el=.elc): | 139 | # Compile all Lisp files, but don't recompile those that are up to |
| 211 | -rm -f $@ | 140 | # date. Some files don't actually get compiled because they set the |
| 212 | 141 | # local variable no-byte-compile. | |
| 213 | # Compile all Lisp files, except those from DONTCOMPILE, | ||
| 214 | # but don't recompile those that are up to date. | ||
| 215 | 142 | ||
| 216 | # All .elc files are made writable | 143 | # All .elc files are made writable before compilation in case we |
| 217 | # before compilation in case we checked out read-only (CVS option -r). | 144 | # checked out read-only (CVS option -r). Files MUST be compiled one by |
| 218 | # Files MUST be compiled one by one. If we compile several files in a | 145 | # one. If we compile several files in a row we can't make sure that |
| 219 | # row we can't make sure that the compilation environment is clean. | 146 | # the compilation environment is clean. We also set the load-path of |
| 220 | # We also set the load-path of the Emacs used for compilation to the | 147 | # the Emacs used for compilation to the current directory and its |
| 221 | # current directory and its subdirectories, to make sure require's and | 148 | # subdirectories, to make sure require's and load's in the files being |
| 222 | # load's in the files being compiled find the right files. | 149 | # compiled find the right files. |
| 223 | |||
| 224 | # NOTE about DONTCOMPILE: in the `echo <foo> | sort | uniq -u' we pass | ||
| 225 | # $(DONTCOMPILE) twice. This is in case one of the files in DONTCOMPILE | ||
| 226 | # is absent. -stef | ||
| 227 | 150 | ||
| 228 | compile: $(lisp)/subdirs.el doit | 151 | compile: $(lisp)/subdirs.el doit |
| 229 | find $(lisp) -name "*.elc" -print | xargs chmod +w >/dev/null 2>&1; \ | 152 | find $(lisp) -name "*.elc" -print | xargs chmod +w >/dev/null 2>&1; \ |
| 230 | wd=$(lisp); $(setwins); \ | 153 | wd=$(lisp); $(setwins); \ |
| 231 | elpat=`echo $$wins | tr ' ' '\012\012' | \ | 154 | els=`echo $$wins | tr ' \011' '\012\012' | \ |
| 232 | sed -e 's|\(.\)$$|\1/|' -e 's|^\./||' -e 's|$$|*.el|'`; \ | 155 | sed -e 's|\(.\)$$|\1/|' -e 's|^\./||' -e 's|$$|*.el|'`; \ |
| 233 | els=`echo $$elpat $(DONTCOMPILE) $(DONTCOMPILE) $(COMPILE_FIRST) | \ | ||
| 234 | tr ' ' '\012\012' | sort | uniq -u`; \ | ||
| 235 | for el in $(COMPILE_FIRST) $$els; do \ | 156 | for el in $(COMPILE_FIRST) $$els; do \ |
| 236 | if test -f $$el; \ | 157 | if test -f $$el; \ |
| 237 | then \ | 158 | then \ |
| @@ -240,17 +161,17 @@ compile: $(lisp)/subdirs.el doit | |||
| 240 | fi \ | 161 | fi \ |
| 241 | done | 162 | done |
| 242 | 163 | ||
| 243 | # Compile all Lisp files, except those from DONTCOMPILE. This | 164 | # Compile all Lisp files. This is like `compile' but compiles files |
| 244 | # is like `compile' but compiles files unconditionally. | 165 | # unconditionally. Some files don't actually get compiled because they |
| 166 | # set the local variable no-byte-compile. | ||
| 167 | |||
| 245 | compile-always: $(lisp)/subdirs.el doit | 168 | compile-always: $(lisp)/subdirs.el doit |
| 246 | # `|| true' prevents old Bash versions from getting confused | 169 | # `|| true' prevents old Bash versions from getting confused |
| 247 | # by an error. | 170 | # by an error. |
| 248 | find $(lisp) -name "*.elc" -print | xargs chmod +w >/dev/null 2>&1 || true; \ | 171 | find $(lisp) -name "*.elc" -print | xargs chmod +w >/dev/null 2>&1 || true; \ |
| 249 | wd=$(lisp); $(setwins); \ | 172 | wd=$(lisp); $(setwins); \ |
| 250 | elpat=`echo $$wins | tr ' ' '\012\012' | \ | 173 | els=`echo $$wins | tr ' \011' '\012\012' | \ |
| 251 | sed -e 's|\(.\)$$|\1/|' -e 's|^\./||' -e 's|$$|*.el|'`; \ | 174 | sed -e 's|\(.\)$$|\1/|' -e 's|^\./||' -e 's|$$|*.el|'`; \ |
| 252 | els=`echo $$elpat $(DONTCOMPILE) $(DONTCOMPILE) $(COMPILE_FIRST) | \ | ||
| 253 | tr ' ' '\012\012' | sort | uniq -u`; \ | ||
| 254 | for el in $(COMPILE_FIRST) $$els; do \ | 175 | for el in $(COMPILE_FIRST) $$els; do \ |
| 255 | if test -f $$el; \ | 176 | if test -f $$el; \ |
| 256 | then \ | 177 | then \ |