commit them (caution).
-q: be quiet; only give error messages, not status messages.
-A: only update autotools files, copying into specified dir.
--H: also update ChangeLog.${changelog_n}
-L: also update ldefs-boot.el.
-C: start from a clean state. Slower, but more correct.
EOF
autogendir= # was "autogen"
ldefs_flag=1
lboot_flag=
-changelog_flag=
## Parameters.
ldefs_in=lisp/loaddefs.el
ldefs_out=lisp/ldefs-boot.el
-changelog_n=$(sed -n 's/CHANGELOG_HISTORY_INDEX_MAX *= *//p' Makefile.in)
-changelog_files="ChangeLog.$changelog_n"
sources="configure.ac lib/Makefile.am"
## Files to copy into autogendir.
## Everything:
trap "rm -f $tempfile 2> /dev/null" EXIT
-while getopts ":hcfqA:HCL" option ; do
+while getopts ":hcfqA:CL" option ; do
case $option in
(h) usage ;;
(C) clean=1 ;;
- (H) changelog_flag=1 ;;
-
(L) lboot_flag=1 ;;
(\?) die "Bad option -$OPTARG" ;;
commit "loaddefs" $modified || die "commit error"
-## Less important than the other stuff, so do it last.
-[ ! "$changelog_flag" ] || {
- make change-history-nocommit || die "make change-history error"
- modified=$(status $changelog_files) || die
- commit "ChangeLog" $modified || die "commit error"
-}
-
-
exit 0
### update_autogen ends here