chiark / gitweb /
man: document how to query $libdir for the primary architecture using pkg-config
authorLennart Poettering <lennart@poettering.net>
Mon, 30 Jun 2014 21:30:00 +0000 (23:30 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 30 Jun 2014 21:30:00 +0000 (23:30 +0200)
man/file-hierarchy.xml

index fcef793..e1f5aef 100644 (file)
                                 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>
                         <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>