libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: 12-gary-missing-mode-shorthand+docs.patch


From: Gary V. Vaughan
Subject: FYI: 12-gary-missing-mode-shorthand+docs.patch
Date: Tue, 07 Oct 2003 15:57:07 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20030925 Thunderbird/0.3

Applied to HEAD.
--
  ())_.  Gary V. Vaughan    gary@(lilith.warpmail.net|gnu.org)
  ( '/   Research Scientist http://www.oranda.demon.co.uk       ,_())____
  / )=   GNU Hacker         http://www.gnu.org/software/libtool  \'      `&
`(_~)_   Tech' Author       http://sources.redhat.com/autobook   =`---d__/
Index: ChangeLog
from  Gary V. Vaughan  <address@hidden>
        * doc/libtool.texi (Invoking libtool): Updated.
        * ltmain.in: Add missing clean and finish modes to the shorthand
        options.

Index: ltmain.in
===================================================================
RCS file: /cvsroot/libtool/libtool/ltmain.in,v
retrieving revision 1.346
diff -u -p -u -r1.346 ltmain.in
--- ltmain.in 7 Oct 2003 14:34:45 -0000 1.346
+++ ltmain.in 7 Oct 2003 14:50:20 -0000
@@ -160,11 +160,17 @@ win32_libid () {
 
 # 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+"$@"}
Index: doc/libtool.texi
===================================================================
RCS file: /cvsroot/libtool/libtool/doc/libtool.texi,v
retrieving revision 1.136
diff -u -p -u -r1.136 libtool.texi
--- doc/libtool.texi 5 Aug 2003 16:05:00 -0000 1.136
+++ doc/libtool.texi 7 Oct 2003 14:50:21 -0000
@@ -24,7 +24,7 @@
 @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
@@ -51,7 +51,7 @@ identical to this one except for the rem
 
 @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
@@ -1081,11 +1081,10 @@ specified, then detailed help for @var{m
 displayed.
 
 @item address@hidden
-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
address@hidden@var{mode}}.
 
 @var{mode} must be set to one of the following:
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]