From: Kay Sievers Date: Tue, 1 Jul 2014 15:45:44 +0000 (+0200) Subject: man: file-hierarchy - emphasize /usr/lib/$arch-id instead of $libdir X-Git-Tag: v215~60 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=eafbd4d7cebe50b55324514cc7e95f003dd8ab47;p=elogind.git man: file-hierarchy - emphasize /usr/lib/$arch-id instead of $libdir --- diff --git a/man/file-hierarchy.xml b/man/file-hierarchy.xml index f8694a4c0..ed3c26532 100644 --- a/man/file-hierarchy.xml +++ b/man/file-hierarchy.xml @@ -294,23 +294,21 @@ - $libdir + /usr/lib/arch-id Location for placing - dynamic libraries. The precise - location depends on the operating - system and the architecture, and is - sometimes + dynamic libraries, called $libdir. + The architecture identifier to use, is defined on Multiarch Architecture Specifiers (Tuples) + list. Legacy locations of $libdir are /usr/lib, - /use/lib64 or - /usr/lib/ - suffixed by an architecture - identifier. This directory should not + /usr/lib64. + This directory should not be used for package-specific data, unless this data is architecture-dependent, too. To query $libdir for the primary architecture of the system, - invoke + invoke: # pkg-config --variable=libdir systemd @@ -694,7 +692,7 @@ Location for placing public dynamic libraries. The architecture - identifier to use is defined on Multiarch Architecture Specifiers (Tuples) list. @@ -795,7 +793,7 @@ Package executables that shall appear in the $PATH executable search path, compiled for the primary architecture of the operating system. It is not recommended to place internal binaries or binaries that are not commonly invoked from the shell in this directory, such as daemon binaries. As this directory is shared with most other packages of the system special care should be taken to pick unique names for files placed here, that are unlikely to clash with other package's files. - $libdir + /usr/lib/arch-id Public shared libraries of the package. As above, be careful with using too generic names, and pick unique names for your libraries to place here to avoid name clashes. @@ -803,7 +801,7 @@ Private, static vendor resources of the package, including private binaries and libraries, or any other kind of read-only vendor data. - $libdir/package + /usr/lib/arch-id/package Private other vendor resources of the package that are architecture-specific and cannot be shared between architectures. Note that this generally does not include private exectuables since binaries of a specific architecture may be freely invoked from any other supported system architecture.