# HG changeset patch # User Ben Pfaff # Date 1274641359 25200 # Node ID 09288814c405e6d734d0ffa56c9de0affffe370f # Parent f07c1f071ff0e9ebcfcc930ec63b068597397ccc Update maintainer documentation for 'relocatable-prog' module. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-05-23 Ben Pfaff + + Update maintainer documentation for 'relocatable-prog' module. + * doc/relocatable-maint.texi: Update. + Comments by Bruno Haible. + 2010-05-23 Bruno Haible git-merge-changelog: Enable --split-merged-entry by default. diff --git a/doc/relocatable-maint.texi b/doc/relocatable-maint.texi --- a/doc/relocatable-maint.texi +++ b/doc/relocatable-maint.texi @@ -89,6 +89,27 @@ The prototype for this function is in @file{relocatable.h}. @item +The @code{set_program_name} function can also configure some +additional libraries to relocate files that they access, by defining +corresponding C preprocessor symbols to 1. The libraries for which +this is supported and the corresponding preprocessor symbols are: + +@table @asis +@item libcharset +@code{DEPENDS_ON_LIBCHARSET} + +@item libiconv +@code{DEPENDS_ON_LIBICONV} + +@item libintl +@code{DEPENDS_ON_LIBINTL} +@end table + +Defining the symbol for a library makes every program in the package +depend on that library, whether the program really uses the library or +not, so this feature should be used with some caution. + +@item If your package installs shell scripts, also import the @code{relocatable-script} module. Then, near the beginning of each shell script that your package installs, add the following: