2003-10-07 Gary V. Vaughan <gary@gnu.org>
+ * doc/libtool.texi (Invoking libtool): Updated.
+ * ltmain.in: Add missing clean and finish modes to the shorthand
+ options.
+
* ltmain.in: Typo in the --mode shorthand.
2003-10-07 Scott James Remnant <scott@netsplit.com>
@ifnottex
This file documents GNU Libtool @value{VERSION}
-Copyright (C) 1996-2000 Free Software Foundation, Inc.
+Copyright (C) 1996-2003 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.1
@page
@vskip 0pt plus 1filll
-Copyright @copyright{} 1996-2000 Free Software Foundation, Inc.
+Copyright @copyright{} 1996-2003 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.1
displayed.
@item --mode=@var{mode}
-Use @var{mode} as the operation mode. If not specified, an attempt is
-made to inferr the operation mode from the @var{mode-args}. Not specifying
-the @var{mode} is currently deprecated, as there are too many situations
-where it is not possible to guess. Future versions of Libtool will require
-that @var{mode} be explicity set.
+Use @var{mode} as the operation mode. When using libtool from the
+command line, you can give just @var{mode} (or a unique abbreviation
+of it) as the first argument as a shorthand for the full
+@samp{--mode=@var{mode}}.
@var{mode} must be set to one of the following:
# Shorthand for --mode=foo
case $1 in
+clean|clea|cle|cl)
+ shift; set -- --mode=clean ${1+"$@"}
+ ;;
compile|compil|compi|comp|com|co|c)
shift; set -- --mode=compile ${1+"$@"}
;;
execute|execut|execu|exec|exe|ex|e)
shift; set -- --mode=execute ${1+"$@"}
;;
+finish|finis|fini|fin|fi|f)
+ shift; set -- --mode=finish ${1+"$@"}
+ ;;
install|instal|insta|inst|ins|in|i)
shift; set -- --mode=install ${1+"$@"}
;;