Mercurial > emacs
comparison lisp/Makefile @ 26183:00e23959ec43
(compile-files): Fixed the "tr" strings.
(EMACS): Set to ../src/emacs.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 25 Oct 1999 16:28:56 +0000 |
parents | 760a5b91fe7f |
children | 36564a827d06 |
comparison
equal
deleted
inserted
replaced
26182:3264a26ae355 | 26183:00e23959ec43 |
---|---|
3 # | 3 # |
4 | 4 |
5 # You can specify a different executable on the make command line, | 5 # You can specify a different executable on the make command line, |
6 # e.g. "make EMACS=../src/emacs ...". | 6 # e.g. "make EMACS=../src/emacs ...". |
7 | 7 |
8 EMACS = emacs | 8 EMACS = ../src/emacs |
9 | 9 |
10 # Command line flags for Emacs. This must include --multibyte, | 10 # Command line flags for Emacs. This must include --multibyte, |
11 # otherwise some files will not compile. | 11 # otherwise some files will not compile. |
12 | 12 |
13 EMACSOPT = --no-init-file --no-site-file --multibyte -batch | 13 EMACSOPT = --no-init-file --no-site-file --multibyte -batch |
110 # the right files. | 110 # the right files. |
111 | 111 |
112 compile-files: subdirs.el doit | 112 compile-files: subdirs.el doit |
113 find . -name "*.elc" -print | xargs chmod +w; \ | 113 find . -name "*.elc" -print | xargs chmod +w; \ |
114 wd=.; $(setwins); \ | 114 wd=.; $(setwins); \ |
115 elpat=`echo $$wins | tr '[ ]' '[\012\012]' | \ | 115 elpat=`echo $$wins | tr ' ' '\012\012' | \ |
116 sed -e 's|\(.\)$$|\1/|' -e 's|^\./||' -e 's|$$|*.el|'`; \ | 116 sed -e 's|\(.\)$$|\1/|' -e 's|^\./||' -e 's|$$|*.el|'`; \ |
117 els=`echo $$elpat $(DONTCOMPILE) | tr '[ ]' '[\012\012]' | sort | uniq -u`; \ | 117 els=`echo $$elpat $(DONTCOMPILE) | tr ' ' '\012\012' | sort | uniq -u`; \ |
118 echo $$els; \ | 118 echo $$els; \ |
119 EMACSLOADPATH=`pwd` $(emacs) -f batch-byte-compile $$els | 119 EMACSLOADPATH=`pwd` $(emacs) -f batch-byte-compile $$els |
120 | 120 |
121 # Backup compiled Lisp files in elc.tar.gz. If that file already | 121 # Backup compiled Lisp files in elc.tar.gz. If that file already |
122 # exists, make a backup of it. | 122 # exists, make a backup of it. |