comparison lisp/Makefile.in @ 88602:1ed369a4eb81

Cancel the 2002-05-17 change of mine.
author Kenichi Handa <handa@m17n.org>
date Wed, 22 May 2002 13:27:48 +0000
parents 6b39eddaf7dc
children d90007111cd1
comparison
equal deleted inserted replaced
88601:dc5d530071a4 88602:1ed369a4eb81
123 $(lisp)/progmodes/cc-mode.el \ 123 $(lisp)/progmodes/cc-mode.el \
124 $(lisp)/progmodes/cc-vars.el 124 $(lisp)/progmodes/cc-vars.el
125 125
126 # The actual Emacs command run in the targets below. 126 # The actual Emacs command run in the targets below.
127 127
128 emacs = EMACSLOADPATH=$(lisp) LC_ALL=C LANG=C $(EMACS) $(EMACSOPT) 128 emacs = EMACSLOADPATH=$(lisp) LC_ALL=C $(EMACS) $(EMACSOPT)
129 129
130 # Common command to find subdirectories 130 # Common command to find subdirectories
131 131
132 setwins=subdirs=`find $$wd -type d -print`; \ 132 setwins=subdirs=`find $$wd -type d -print`; \
133 for file in $$subdirs; do \ 133 for file in $$subdirs; do \
148 cus-load.el: 148 cus-load.el:
149 touch $@ 149 touch $@
150 custom-deps: cus-load.el doit 150 custom-deps: cus-load.el doit
151 wd=$(lisp); $(setwins); \ 151 wd=$(lisp); $(setwins); \
152 echo Directories: $$wins; \ 152 echo Directories: $$wins; \
153 LC_ALL=C LANG=C $(EMACS) $(EMACSOPT) -l cus-dep -f custom-make-dependencies $$wins 153 LC_ALL=C $(EMACS) $(EMACSOPT) -l cus-dep -f custom-make-dependencies $$wins
154 154
155 finder-inf.el: 155 finder-inf.el:
156 echo "(provide 'finder-inf)" >> $@ 156 echo "(provide 'finder-inf)" >> $@
157 finder-data: finder-inf.el doit 157 finder-data: finder-inf.el doit
158 wd=$(lisp); $(finder_setwins); \ 158 wd=$(lisp); $(finder_setwins); \
159 echo Directories: $$wins; \ 159 echo Directories: $$wins; \
160 LC_ALL=C LANG=C $(EMACS) $(EMACSOPT) -l finder -f finder-compile-keywords-make-dist $$wins 160 LC_ALL=C $(EMACS) $(EMACSOPT) -l finder -f finder-compile-keywords-make-dist $$wins
161 161
162 loaddefs.el: 162 loaddefs.el:
163 echo ";;; loaddefs.el --- automatically extracted autoloads" >> $@ 163 echo ";;; loaddefs.el --- automatically extracted autoloads" >> $@
164 echo ";;" >> $@; echo ";;; Code:" >> $@ 164 echo ";;" >> $@; echo ";;; Code:" >> $@
165 echo " " >> $@ 165 echo " " >> $@
170 echo ";;; End:" >> $@ 170 echo ";;; End:" >> $@
171 echo ";;; loaddefs.el ends here" >> $@ 171 echo ";;; loaddefs.el ends here" >> $@
172 autoloads: loaddefs.el doit 172 autoloads: loaddefs.el doit
173 wd=$(lisp); $(setwins); \ 173 wd=$(lisp); $(setwins); \
174 echo Directories: $$wins; \ 174 echo Directories: $$wins; \
175 LC_ALL=C LANG=C $(EMACS) $(EMACSOPT) -l autoload --eval '(setq generated-autoload-file "$(lisp)/loaddefs.el")' -f batch-update-autoloads $$wins 175 LC_ALL=C $(EMACS) $(EMACSOPT) -l autoload --eval '(setq generated-autoload-file "$(lisp)/loaddefs.el")' -f batch-update-autoloads $$wins
176 176
177 subdirs.el: 177 subdirs.el:
178 $(MAKE) $(MFLAGS) update-subdirs 178 $(MAKE) $(MFLAGS) update-subdirs
179 update-subdirs: doit 179 update-subdirs: doit
180 wd=$(lisp); $(setwins); \ 180 wd=$(lisp); $(setwins); \
223 sed -e 's|\(.\)$$|\1/|' -e 's|^\./||' -e 's|$$|*.el|'`; \ 223 sed -e 's|\(.\)$$|\1/|' -e 's|^\./||' -e 's|$$|*.el|'`; \
224 els=`echo $$elpat $(DONTCOMPILE) $(COMPILE_FIRST) | \ 224 els=`echo $$elpat $(DONTCOMPILE) $(COMPILE_FIRST) | \
225 tr ' ' '\012\012' | sort | uniq -u`; \ 225 tr ' ' '\012\012' | sort | uniq -u`; \
226 for el in $(COMPILE_FIRST) $$els; do \ 226 for el in $(COMPILE_FIRST) $$els; do \
227 echo Compiling $$el; \ 227 echo Compiling $$el; \
228 LC_ALL=C LANG=C $(emacs) -f batch-byte-compile-if-not-done $$el || exit 1; \ 228 LC_ALL=C $(emacs) -f batch-byte-compile-if-not-done $$el || exit 1; \
229 done 229 done
230 230
231 # Compile all Lisp files, except those from DONTCOMPILE. This 231 # Compile all Lisp files, except those from DONTCOMPILE. This
232 # is like `compile' but compiles files unconditionally. 232 # is like `compile' but compiles files unconditionally.
233 compile-always: subdirs.el doit 233 compile-always: subdirs.el doit
237 sed -e 's|\(.\)$$|\1/|' -e 's|^\./||' -e 's|$$|*.el|'`; \ 237 sed -e 's|\(.\)$$|\1/|' -e 's|^\./||' -e 's|$$|*.el|'`; \
238 els=`echo $$elpat $(DONTCOMPILE) $(COMPILE_FIRST) | \ 238 els=`echo $$elpat $(DONTCOMPILE) $(COMPILE_FIRST) | \
239 tr ' ' '\012\012' | sort | uniq -u`; \ 239 tr ' ' '\012\012' | sort | uniq -u`; \
240 for el in $(COMPILE_FIRST) $$els; do \ 240 for el in $(COMPILE_FIRST) $$els; do \
241 echo Compiling $$el; \ 241 echo Compiling $$el; \
242 LC_ALL=C LANG=C $(emacs) -f batch-byte-compile $$el || exit 1; \ 242 LC_ALL=C $(emacs) -f batch-byte-compile $$el || exit 1; \
243 done 243 done
244 244
245 compile-calc: 245 compile-calc:
246 for el in $(find $(lisp)/calc -name '*.el'); do \ 246 for el in $(find $(lisp)/calc -name '*.el'); do \
247 echo Compiling $$el; \ 247 echo Compiling $$el; \
248 LC_ALL=C LANG=C $(emacs) -f batch-byte-compile $$el || exit 1; \ 248 LC_ALL=C $(emacs) -f batch-byte-compile $$el || exit 1; \
249 done 249 done
250 250
251 # Backup compiled Lisp files in elc.tar.gz. If that file already 251 # Backup compiled Lisp files in elc.tar.gz. If that file already
252 # exists, make a backup of it. 252 # exists, make a backup of it.
253 253
262 # Recompile all Lisp files which are newer than their .elc files. 262 # Recompile all Lisp files which are newer than their .elc files.
263 # Note that this doesn't create .elc files. It only recompiles if an 263 # Note that this doesn't create .elc files. It only recompiles if an
264 # .elc is present. 264 # .elc is present.
265 265
266 recompile: doit 266 recompile: doit
267 LC_ALL=C LANG=C $(EMACS) $(EMACSOPT) -f batch-byte-recompile-directory $(lisp) 267 LC_ALL=C $(EMACS) $(EMACSOPT) -f batch-byte-recompile-directory $(lisp)
268 268
269 # Prepare a bootstrap in the lisp subdirectory. Build loaddefs.el, 269 # Prepare a bootstrap in the lisp subdirectory. Build loaddefs.el,
270 # because it's not sure it's up-to-date, and if it's not, that might 270 # because it's not sure it's up-to-date, and if it's not, that might
271 # lead to errors during the bootstrap because something fails to 271 # lead to errors during the bootstrap because something fails to
272 # autoload as expected. Remove compiled Lisp files so that 272 # autoload as expected. Remove compiled Lisp files so that