X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=doc%2Frelocatable-maint.texi;h=7c24b28239d7685ce357180c8770e3b7c0f0c791;hb=de9f4b1;hp=c743d4ac919d092091b79ca90ad663faebb62063;hpb=89a7d67b87ccebb4ba297591909eec37e5b12350;p=gnulib.git diff --git a/doc/relocatable-maint.texi b/doc/relocatable-maint.texi index c743d4ac9..7c24b2823 100644 --- a/doc/relocatable-maint.texi +++ b/doc/relocatable-maint.texi @@ -15,7 +15,7 @@ privileges to install a binary package, and prevents installing two different versions of the same binary package. A relocatable program can be moved or copied to a different location -on the filesystem. It is possible to make symlinks to the installed +on the file system. It is possible to make symlinks to the installed and moved programs, and invoke them through the symlink. It is possible to do the same thing with a hard link @emph{only} if the hard link file is in the same directory as the real program. @@ -46,7 +46,7 @@ sets the environment variable that controls shared library searching This approach does not always work. On OpenBSD and OpenServer, prereleases of Libtool 1.5 put absolute file names of libraries in -executables, which prevents searching any other locations. +executables, which prevents searching any other locations. @item On Windows, the executable's own directory is searched for libraries, @@ -82,7 +82,7 @@ bindtextdomain (PACKAGE, LOCALEDIR); @noindent becomes: -@example +@example bindtextdomain (PACKAGE, relocate (LOCALEDIR)); @end example @@ -125,8 +125,8 @@ endif @end example @item -You may also need to add one or two variable assignments to your -@file{configure.ac}. +You may also need to add a couple of variable assignments to your +@file{configure.ac}. If your package (or any package you rely on, e.g.@: gettext-runtime) will be relocated together with a set of installed shared libraries, @@ -142,3 +142,6 @@ If your @file{config.h} is not in @file{$(top_builddir)}, then set RELOCATABLE_CONFIG_H_DIR='$(top_builddir)/src' @end example @end enumerate + +Set @var{RELOCATABLE_STRIP} to @code{:}. This is needed so that +@samp{make install} installs executables without stripping them.