summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-06-30 23:30:00 +0200
committerLennart Poettering <lennart@poettering.net>2014-06-30 23:30:00 +0200
commitcd48031bcf32b4f675c3498fc911a2485b9f7636 (patch)
treeca2d45589e0f9099eebe94c45564308ff1d2a33b
parentded21b6de3826c6d7a22aa67dc538e2417f43b70 (diff)
man: document how to query $libdir for the primary architecture using pkg-config
-rw-r--r--man/file-hierarchy.xml8
1 files changed, 6 insertions, 2 deletions
diff --git a/man/file-hierarchy.xml b/man/file-hierarchy.xml
index fcef7932a9..e1f5aefd4d 100644
--- a/man/file-hierarchy.xml
+++ b/man/file-hierarchy.xml
@@ -311,8 +311,11 @@
identifier. This directory should not
be used for package-specific data,
unless this data is
- architecture-dependent,
- too.</para></listitem>
+ architecture-dependent, too. To query
+ <varname>$libdir</varname> for the
+ primary architecture of the system,
+ invoke
+ <programlisting># pkg-config --variable=libdir systemd</programlisting></para></listitem>
</varlistentry>
<varlistentry>
@@ -695,6 +698,7 @@
<citerefentry><refentrytitle>hier</refentrytitle><manvolnum>7</manvolnum></citerefentry>,
<citerefentry><refentrytitle>systemd-boot-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<citerefentry><refentrytitle>sysctl.d</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
+ <citerefentry><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry>
</para>
</refsect1>