From: Stefan Kangas Date: Sat, 6 Aug 2022 10:21:40 +0000 (+0200) Subject: * admin/update_autogen: Fix generating ldefs-boot.el. X-Git-Tag: emacs-29.0.90~1447^2~386 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4be147b67762b7728c4ff27309b0f95ad14b6468;p=emacs.git * admin/update_autogen: Fix generating ldefs-boot.el. --- diff --git a/admin/update_autogen b/admin/update_autogen index c047481f606..6d844b22f43 100755 --- a/admin/update_autogen +++ b/admin/update_autogen @@ -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,13 +286,8 @@ 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