mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-31 20:02:42 +00:00
By sure to run emacs with LANG=C.
This commit is contained in:
parent
7b40ebaf2a
commit
e01a83664f
@ -125,7 +125,7 @@ COMPILE_FIRST = \
|
||||
|
||||
# The actual Emacs command run in the targets below.
|
||||
|
||||
emacs = EMACSLOADPATH=$(lisp) $(EMACS) $(EMACSOPT)
|
||||
emacs = EMACSLOADPATH=$(lisp) LANG=C $(EMACS) $(EMACSOPT)
|
||||
|
||||
# Common command to find subdirectories
|
||||
|
||||
@ -150,14 +150,14 @@ cus-load.el:
|
||||
custom-deps: cus-load.el doit
|
||||
wd=$(lisp); $(setwins); \
|
||||
echo Directories: $$wins; \
|
||||
$(EMACS) $(EMACSOPT) -l cus-dep -f custom-make-dependencies $$wins
|
||||
LANG=C $(EMACS) $(EMACSOPT) -l cus-dep -f custom-make-dependencies $$wins
|
||||
|
||||
finder-inf.el:
|
||||
echo "(provide 'finder-inf)" >> $@
|
||||
finder-data: finder-inf.el doit
|
||||
wd=$(lisp); $(finder_setwins); \
|
||||
echo Directories: $$wins; \
|
||||
$(EMACS) $(EMACSOPT) -l finder -f finder-compile-keywords-make-dist $$wins
|
||||
LANG=C $(EMACS) $(EMACSOPT) -l finder -f finder-compile-keywords-make-dist $$wins
|
||||
|
||||
loaddefs.el:
|
||||
echo ";;; loaddefs.el --- automatically extracted autoloads" >> $@
|
||||
@ -172,7 +172,7 @@ loaddefs.el:
|
||||
autoloads: loaddefs.el doit
|
||||
wd=$(lisp); $(setwins); \
|
||||
echo Directories: $$wins; \
|
||||
$(EMACS) $(EMACSOPT) -l autoload --eval '(setq generated-autoload-file "$(lisp)/loaddefs.el")' -f batch-update-autoloads $$wins
|
||||
LANG=C $(EMACS) $(EMACSOPT) -l autoload --eval '(setq generated-autoload-file "$(lisp)/loaddefs.el")' -f batch-update-autoloads $$wins
|
||||
|
||||
subdirs.el:
|
||||
$(MAKE) $(MFLAGS) update-subdirs
|
||||
@ -225,7 +225,7 @@ compile: subdirs.el doit
|
||||
tr ' ' '\012\012' | sort | uniq -u`; \
|
||||
for el in $(COMPILE_FIRST) $$els; do \
|
||||
echo Compiling $$el; \
|
||||
$(emacs) -f batch-byte-compile-if-not-done $$el || exit 1; \
|
||||
LANG=C $(emacs) -f batch-byte-compile-if-not-done $$el || exit 1; \
|
||||
done
|
||||
|
||||
# Compile all Lisp files, except those from DONTCOMPILE. This
|
||||
@ -239,13 +239,13 @@ compile-always: subdirs.el doit
|
||||
tr ' ' '\012\012' | sort | uniq -u`; \
|
||||
for el in $(COMPILE_FIRST) $$els; do \
|
||||
echo Compiling $$el; \
|
||||
$(emacs) -f batch-byte-compile $$el || exit 1; \
|
||||
LANG=C $(emacs) -f batch-byte-compile $$el || exit 1; \
|
||||
done
|
||||
|
||||
compile-calc:
|
||||
for el in $(find $(lisp)/calc -name '*.el'); do \
|
||||
echo Compiling $$el; \
|
||||
$(emacs) -f batch-byte-compile $$el || exit 1; \
|
||||
LANG=C $(emacs) -f batch-byte-compile $$el || exit 1; \
|
||||
done
|
||||
|
||||
# Backup compiled Lisp files in elc.tar.gz. If that file already
|
||||
@ -264,7 +264,7 @@ compile-after-backup: backup-compiled-files compile-always
|
||||
# .elc is present.
|
||||
|
||||
recompile: doit
|
||||
$(EMACS) $(EMACSOPT) -f batch-byte-recompile-directory $(lisp)
|
||||
LANG=C $(EMACS) $(EMACSOPT) -f batch-byte-recompile-directory $(lisp)
|
||||
|
||||
# Prepare a bootstrap in the lisp subdirectory. Build loaddefs.el,
|
||||
# because it's not sure it's up-to-date, and if it's not, that might
|
||||
|
Loading…
Reference in New Issue
Block a user