aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
Diffstat (limited to 'admin')
-rw-r--r--admin/ChangeLog18
-rw-r--r--admin/grammars/Makefile.in5
-rwxr-xr-xadmin/merge-gnulib2
-rwxr-xr-xadmin/update_autogen21
4 files changed, 33 insertions, 13 deletions
diff --git a/admin/ChangeLog b/admin/ChangeLog
index d96368c4f9a..90d394ca9bd 100644
--- a/admin/ChangeLog
+++ b/admin/ChangeLog
@@ -1,3 +1,21 @@
12014-07-14 Paul Eggert <eggert@cs.ucla.edu>
2
3 Use binary-io module, O_BINARY, and "b" flag (Bug#18006).
4 * merge-gnulib (GNULIB_MODULES): Add binary-io. It was already
5 present implicitly; this just makes the dependence explicit.
6
72014-06-30 Glenn Morris <rgm@gnu.org>
8
9 * update_autogen: Find loaddefs targets rather than
10 parsing lisp/Makefile.in
11
122014-06-29 Glenn Morris <rgm@gnu.org>
13
14 * update_autogen: Remove need to cd into/out of lisp/.
15
16 * grammars/Makefile.in (bootstrap-clean): Don't delete Makefile,
17 for sake of top-level maintainer-clean rule.
18
12014-06-26 Eli Zaretskii <eliz@gnu.org> 192014-06-26 Eli Zaretskii <eliz@gnu.org>
2 20
3 * notes/unicode: Some notes about what to do when a new Unicode 21 * notes/unicode: Some notes about what to do when a new Unicode
diff --git a/admin/grammars/Makefile.in b/admin/grammars/Makefile.in
index 1454225b80a..c3ee2ef951f 100644
--- a/admin/grammars/Makefile.in
+++ b/admin/grammars/Makefile.in
@@ -99,7 +99,10 @@ ${cedetdir}/srecode/srt-wy.el: ${srcdir}/srecode-template.wy
99distclean: 99distclean:
100 rm -f Makefile 100 rm -f Makefile
101 101
102bootstrap-clean maintainer-clean: distclean 102## Perhaps this should do what extraclean (qv) does.
103bootstrap-clean:
104
105maintainer-clean: distclean
103 106
104## We do not normally delete the generated files, even in bootstrap. 107## We do not normally delete the generated files, even in bootstrap.
105## Creating them does not take long, so we could easily change this. 108## Creating them does not take long, so we could easily change this.
diff --git a/admin/merge-gnulib b/admin/merge-gnulib
index 5df2020f3aa..a11b6e06d27 100755
--- a/admin/merge-gnulib
+++ b/admin/merge-gnulib
@@ -26,7 +26,7 @@
26GNULIB_URL=git://git.savannah.gnu.org/gnulib.git 26GNULIB_URL=git://git.savannah.gnu.org/gnulib.git
27 27
28GNULIB_MODULES=' 28GNULIB_MODULES='
29 alloca-opt byteswap c-ctype c-strcase 29 alloca-opt binary-io byteswap c-ctype c-strcase
30 careadlinkat close-stream count-one-bits count-trailing-zeros 30 careadlinkat close-stream count-one-bits count-trailing-zeros
31 crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512 31 crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512
32 dtoastr dtotimespec dup2 environ execinfo faccessat 32 dtoastr dtotimespec dup2 environ execinfo faccessat
diff --git a/admin/update_autogen b/admin/update_autogen
index d9d34fa3d6e..ef0edfef50c 100755
--- a/admin/update_autogen
+++ b/admin/update_autogen
@@ -322,15 +322,20 @@ EOF
322 322
323echo "Finding loaddef targets..." 323echo "Finding loaddef targets..."
324 324
325sed -n -e '/^AUTOGEN_VCS/,/^$/p' lisp/Makefile.in | \ 325find lisp -name '*.el' -exec grep '^;.*generated-autoload-file:' {} + | \
326 sed -e '/AUTOGEN_VCS/d' -e '/^$/d' -e 's/\\//' \ 326 sed -e '/loaddefs\|esh-groups/d' -e 's|/[^/]*: "|/|' -e 's/"//g' \
327 >| $tempfile || die "sed error" 327 >| $tempfile || die "Error finding targets"
328 328
329genfiles= 329genfiles=
330 330
331while read genfile; do 331while read genfile; do
332 332
333 [ -r lisp/$genfile ] || die "Unable to read $genfile" 333 ## Or we can just use sort -u when making tempfile...
334 case " $genfiles " in
335 *" $genfile "*) continue ;;
336 esac
337
338 [ -r $genfile ] || die "Unable to read $genfile"
334 339
335 genfiles="$genfiles $genfile" 340 genfiles="$genfiles $genfile"
336done < $tempfile 341done < $tempfile
@@ -369,18 +374,12 @@ make -C lisp "$@" autoloads EMACS=../src/bootstrap-emacs || die "make src error"
369 cp $ldefs_in $ldefs_out || die "cp ldefs_boot error" 374 cp $ldefs_in $ldefs_out || die "cp ldefs_boot error"
370 375
371 376
372cd lisp
373
374echo "Checking status of loaddef files..." 377echo "Checking status of loaddef files..."
375 378
376## It probably would be fine to just check+commit lisp/, since 379## It probably would be fine to just check+commit lisp/, since
377## making autoloads should not effect any other files. But better 380## making autoloads should not effect any other files. But better
378## safe than sorry. 381## safe than sorry.
379modified=$(status $genfiles ${ldefs_out#lisp/}) || die 382modified=$(status $genfiles $ldefs_out) || die
380
381
382## bzr status output is always relative to top-level, not PWD.
383[ "$vcs" = "bzr" ] && cd ../
384 383
385 384
386commit "loaddefs" $modified || die "commit error" 385commit "loaddefs" $modified || die "commit error"