mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-07 06:50:23 -08:00
* admin/update_autogen: Remove need to cd into/out of lisp/.
This commit is contained in:
parent
a1212016db
commit
51a0825e84
2 changed files with 5 additions and 8 deletions
|
|
@ -1,5 +1,7 @@
|
||||||
2014-06-29 Glenn Morris <rgm@gnu.org>
|
2014-06-29 Glenn Morris <rgm@gnu.org>
|
||||||
|
|
||||||
|
* update_autogen: Remove need to cd into/out of lisp/.
|
||||||
|
|
||||||
* grammars/Makefile.in (bootstrap-clean): Don't delete Makefile,
|
* grammars/Makefile.in (bootstrap-clean): Don't delete Makefile,
|
||||||
for sake of top-level maintainer-clean rule.
|
for sake of top-level maintainer-clean rule.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -330,7 +330,8 @@ genfiles=
|
||||||
|
|
||||||
while read genfile; do
|
while read genfile; do
|
||||||
|
|
||||||
[ -r lisp/$genfile ] || die "Unable to read $genfile"
|
genfile=lisp/$genfile
|
||||||
|
[ -r $genfile ] || die "Unable to read $genfile"
|
||||||
|
|
||||||
genfiles="$genfiles $genfile"
|
genfiles="$genfiles $genfile"
|
||||||
done < $tempfile
|
done < $tempfile
|
||||||
|
|
@ -369,18 +370,12 @@ make -C lisp "$@" autoloads EMACS=../src/bootstrap-emacs || die "make src error"
|
||||||
cp $ldefs_in $ldefs_out || die "cp ldefs_boot error"
|
cp $ldefs_in $ldefs_out || die "cp ldefs_boot error"
|
||||||
|
|
||||||
|
|
||||||
cd lisp
|
|
||||||
|
|
||||||
echo "Checking status of loaddef files..."
|
echo "Checking status of loaddef files..."
|
||||||
|
|
||||||
## It probably would be fine to just check+commit lisp/, since
|
## It probably would be fine to just check+commit lisp/, since
|
||||||
## making autoloads should not effect any other files. But better
|
## making autoloads should not effect any other files. But better
|
||||||
## safe than sorry.
|
## safe than sorry.
|
||||||
modified=$(status $genfiles ${ldefs_out#lisp/}) || die
|
modified=$(status $genfiles $ldefs_out) || die
|
||||||
|
|
||||||
|
|
||||||
## bzr status output is always relative to top-level, not PWD.
|
|
||||||
[ "$vcs" = "bzr" ] && cd ../
|
|
||||||
|
|
||||||
|
|
||||||
commit "loaddefs" $modified || die "commit error"
|
commit "loaddefs" $modified || die "commit error"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue