diff -ur -N automake-1.10.1.orig/doc/automake.texi automake-1.10.1/doc/automake.texi --- automake-1.10.1.orig/doc/automake.texi 2008-01-21 23:41:02.000000000 +0100 +++ automake-1.10.1/doc/automake.texi 2008-02-19 20:52:29.000000000 +0100 @@ -1962,8 +1962,9 @@ Some primaries also allow additional prefixes that control other aspects of @command{automake}'s behavior. The currently defined prefixes -are @samp{dist_}, @samp{nodist_}, and @samp{nobase_}. These prefixes -are explained later (@pxref{Program and Library Variables}). +are @samp{dist_}, @samp{nodist_}, @samp{nobase_}, and @samp{notrans_}. +These prefixes are explained later (@pxref{Program and Library Variables}) +(@pxref{Man pages}). @node Canonicalization @@ -7633,6 +7634,34 @@ The @code{nobase_} prefix is meaningless for man pages and is disallowed. address@hidden notrans_ address@hidden @code{notrans_} prefix address@hidden Man page renaming, avoiding address@hidden Avoiding man page renaming + +The GNU Build System provides means to automatically rename executables +before they are installed. By default, the same renaming rules (if any) are +applied to the basenames of man pages. However, this can be avoided by use +of the @code{notrans_} prefix. For instance here is how to install two man +pages for an executable @samp{foo} (to be renamed) allowing to access a +library function @samp{foo()} (not to be renamed) from the command line. + address@hidden +man1_MANS = foo.1 +notrans_man3_MANS = foo.3 address@hidden example + address@hidden @code{notrans_} and @code{dist_} or @code{nodist_} address@hidden @code{dist_} and @code{notrans_} address@hidden @code{nodist_} and @code{notrans_} + address@hidden must be specified first when used in conjunction with +either @samp{dist_} or @samp{nodist_} (@pxref{Dist}). For instance: + address@hidden +notrans_dist_man_MANS = foo.3 address@hidden example + @node Install @chapter What Gets Installed