mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-26 19:18:50 +00:00
* admin/update_autogen: Fix generating ldefs-boot.el.
This commit is contained in:
parent
907ad6522a
commit
4be147b677
@ -81,7 +81,6 @@ ldefs_flag=1
|
||||
lboot_flag=
|
||||
|
||||
## Parameters.
|
||||
ldefs_in=lisp/loaddefs.el
|
||||
ldefs_out=lisp/ldefs-boot.el
|
||||
sources="configure.ac lib/Makefile.am"
|
||||
## Files to copy into autogendir.
|
||||
@ -177,8 +176,6 @@ modified=$(status ${autogendir:+$sources} ${ldefs_flag:+lisp}) || die
|
||||
echo "Running 'make maintainer-clean'..."
|
||||
|
||||
make maintainer-clean #|| die "Cleaning error"
|
||||
|
||||
rm -f $ldefs_in
|
||||
}
|
||||
|
||||
|
||||
@ -289,14 +286,9 @@ make -C src "$@" bootstrap-emacs || die "make src error"
|
||||
|
||||
echo "Running lisp/ make..."
|
||||
|
||||
make -C lisp "$@" autoloads EMACS=../src/bootstrap-emacs || die "make src error"
|
||||
make -C lisp "$@" ldefs-boot.el EMACS=../src/bootstrap-emacs || die "make src error"
|
||||
|
||||
|
||||
## Ignore comment differences.
|
||||
[ ! "$lboot_flag" ] || \
|
||||
diff -q -I '^;' $ldefs_in $ldefs_out || \
|
||||
cp $ldefs_in $ldefs_out || die "cp ldefs_boot error"
|
||||
|
||||
# Refresh the prebuilt grammar-wy.el
|
||||
grammar_in=lisp/cedet/semantic/grammar-wy.el
|
||||
grammar_out=lisp/cedet/semantic/grm-wy-boot.el
|
||||
|
Loading…
Reference in New Issue
Block a user