[PATCH] Fix typo in libtool install mode usage text

2009-01-26 Thread Mike Frysinger
* libltdl/config/ltmain.m4sh (func_mode_help): Change -inst-prefix
to -inst-prefix-dir.

Signed-off-by: Mike Frysinger vap...@gentoo.org
---
 ChangeLog  |6 ++
 libltdl/config/ltmain.m4sh |2 +-
 2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 424d296..a5f3a07 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-01-25  Mike Frysinger  vap...@gentoo.org
+
+   Fix typo in libtool install mode usage text.
+   * libltdl/config/ltmain.m4sh (func_mode_help): Change -inst-prefix
+   to -inst-prefix-dir.
+
 2009-01-24  Charles Wilson  libt...@cwilson.fastmail.fm
 
Add -Wall to cwrapper tests.
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 82ee723..08045bf 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -1107,7 +1107,7 @@ either the \`install' or \`cp' program.
 
 The following components of INSTALL-COMMAND are treated specially:
 
-  -inst-prefix PREFIX-DIR  Use PREFIX-DIR as a staging area for installation
+  -inst-prefix-dir PREFIX-DIR  Use PREFIX-DIR as a staging area for 
installation
 
 The rest of the components are interpreted as arguments to that command (only
 BSD-compatible install options are recognized).
-- 
1.6.1





Re: [PATCH] Fix typo in libtool install mode usage text

2009-01-26 Thread Ralf Wildenhues
Hi Mike,

* Mike Frysinger wrote on Mon, Jan 26, 2009 at 05:29:15AM CET:
 * libltdl/config/ltmain.m4sh (func_mode_help): Change -inst-prefix
 to -inst-prefix-dir.

Thanks.  libtool.texi was wrong, too, so I pushed this.

I did consider renaming the option to match the documentation instead,
and am not sure which was better; typically, the user never needs to use
this option.  Have you?

Cheers,
Ralf

Fix typo in libtool install mode documentation.

* libltdl/config/ltmain.m4sh (func_mode_help): Change -inst-prefix
to -inst-prefix-dir.
* doc/libtool.texi (Install mode): Likewise.

Signed-off-by: Mike Frysinger vap...@gentoo.org
Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de

diff --git a/ChangeLog b/ChangeLog
index 424d296..92fc4c5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-01-25  Mike Frysinger  vap...@gentoo.org
+
+   Fix typo in libtool install mode documentation.
+   * libltdl/config/ltmain.m4sh (func_mode_help): Change -inst-prefix
+   to -inst-prefix-dir.
+   * doc/libtool.texi (Install mode): Likewise.
+
 2009-01-24  Charles Wilson  libt...@cwilson.fastmail.fm
 
Add -Wall to cwrapper tests.
diff --git a/doc/libtool.texi b/doc/libtool.texi
index d304f28..c3a2906 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -1573,7 +1573,7 @@ In @dfn{install} mode, libtool interprets most of the 
elements of
 The following components of @var{mode-args} are treated specially:
 
 @table @option
-...@item -inst-prefix @var{inst-prefix-dir}
+...@item -inst-prefix-dir @var{inst-prefix-dir}
 When installing into a temporary staging area, rather than the
 final @var{prefix}, this argument is used to reflect the
 temporary path, in much the same way @command{automake} uses
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 82ee723..08045bf 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -1107,7 +1107,7 @@ either the \`install' or \`cp' program.
 
 The following components of INSTALL-COMMAND are treated specially:
 
-  -inst-prefix PREFIX-DIR  Use PREFIX-DIR as a staging area for installation
+  -inst-prefix-dir PREFIX-DIR  Use PREFIX-DIR as a staging area for 
installation
 
 The rest of the components are interpreted as arguments to that command (only
 BSD-compatible install options are recognized).




Re: [PATCH] Fix typo in libtool install mode usage text

2009-01-26 Thread Ralf Wildenhues
* Mike Frysinger wrote on Mon, Jan 26, 2009 at 09:23:42PM CET:
 On Monday 26 January 2009 14:27:43 Ralf Wildenhues wrote:
 
  I did consider renaming the option to match the documentation instead,
  and am not sure which was better; typically, the user never needs to use
  this option.  Have you?
 
 i was working with a package that doesnt use automake but does use libtool 
 and 
 was trying to figure out if i needed to tell libtool about installing 
 temporarily into DESTDIR rather than the real root.  if libtool keys off of 
 DESTDIR in the env (and it seemed to), then no, i didnt need to use this 
 option

libtool just looks if the install dir is a prefix of the argument that
was passed to -rpath at link time, and uses that as inst_prefix_dir.

Cheers,
Ralf