Document how gnulib-tool can be put into PATH.
authorBruno Haible <bruno@clisp.org>
Thu, 2 Apr 2009 00:20:00 +0000 (02:20 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 2 Apr 2009 00:20:00 +0000 (02:20 +0200)
ChangeLog
doc/gnulib-tool.texi

index 1de821ef63fe26f3064a2b1c9a4ac07920f0db94..082be5edf19a3dbfda45d374ae1c79b687dcc899 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-04-01  Bruno Haible  <bruno@clisp.org>
+
+       * doc/gnulib-tool.texi (Invoking gnulib-tool): Document how gnulib-tool
+       can be put into PATH.
+       Reported by Reuben Thomas <rrt@sc3d.org>. Suggested by Karl Berry.
+
 2009-04-01  Bruno Haible  <bruno@clisp.org>
 
        * doc/lib-symbol-visibility.texi: Follow texinfo style conventions.
index 5531b9af208302bdfdeb365d349584bc8a43243b..0b18ffb0edc650e66fcb4a2022f38b324ceb4150 100644 (file)
@@ -1,7 +1,7 @@
 @node Invoking gnulib-tool
 @chapter Invoking gnulib-tool
 
-@c Copyright (C) 2005-2008 Free Software Foundation, Inc.
+@c Copyright (C) 2005-2009 Free Software Foundation, Inc.
 
 @c Permission is granted to copy, distribute and/or modify this document
 @c under the terms of the GNU Free Documentation License, Version 1.3 or
@@ -21,6 +21,17 @@ growing number of modules this becomes tedious.  @command{gnulib-tool}
 simplifies the management of source files, @file{Makefile.am}s and
 @file{configure.ac} in packages incorporating Gnulib modules.
 
+@file{gnulib-tool} is not installed in a standard directory that is
+contained in the @code{PATH} variable.  It needs to be run directly in
+the directory that contains the Gnulib source code.  You can do this
+either by specifying the absolute filename of @file{gnulib-tool}, or
+you can also use a symbolic link from a place inside your @code{PATH}
+to the @file{gnulib-tool} file of your preferred and most up-to-date
+Gnulib checkout, like this:
+@smallexample
+$ ln -s $HOME/gnu/src/gnulib.git/gnulib-tool $HOME/bin/gnulib-tool
+@end smallexample
+
 Run @samp{gnulib-tool --help} for information.  To get familiar with
 @command{gnulib-tool} without affecting your sources, you can also try
 some commands with the option @samp{--dry-run}; then