From: Glenn Morris Date: Wed, 6 Apr 2011 04:15:53 +0000 (-0700) Subject: * autogen/update_autogen: Add a separate -L option for ldefs-boot.el. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~397 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=11043dbd42f18b18f174dca8f04693907ff47a5c;p=emacs.git * autogen/update_autogen: Add a separate -L option for ldefs-boot.el. --- diff --git a/autogen/update_autogen b/autogen/update_autogen index 6c9766ead52..d1687b293e9 100755 --- a/autogen/update_autogen +++ b/autogen/update_autogen @@ -51,7 +51,7 @@ cd ../ usage () { cat 1>&2 < /dev/null" EXIT -while getopts ":hcflqC" option ; do +while getopts ":hcflqCL" option ; do case $option in (h) usage ;; @@ -105,6 +107,8 @@ while getopts ":hcflqC" option ; do (C) clean=1 ;; + (L) lboot_flag=1 ;; + (\?) die "Bad option -$OPTARG" ;; (:) die "Option -$OPTARG requires an argument" ;; @@ -264,7 +268,7 @@ echo "Running lisp/ make..." make -C lisp "$@" autoloads EMACS=../src/bootstrap-emacs || die "make src error" -cp $ldefs_in $ldefs_out || die "cp ldefs_boot error" +[ ! "$lboot_flag" ] || cp $ldefs_in $ldefs_out || die "cp ldefs_boot error" cd lisp