|
@@ -52,14 +52,6 @@
|
|
|
|
|
|
<screen><userinput remap="pre">patch -Np1 -i ../systemd-&systemd-version;-upstream_fixes-2.patch</userinput></screen>
|
|
|
|
|
|
- <para>Create a symlink to work around the xsltproc command not being installed:</para>
|
|
|
-
|
|
|
-<screen><userinput remap="pre">ln -sf /bin/true /usr/bin/xsltproc</userinput></screen>
|
|
|
-
|
|
|
- <para>Set up the man pages:</para>
|
|
|
-
|
|
|
-<screen><userinput remap="pre">tar -xf ../systemd-man-pages-&systemd-version;.tar.xz</userinput></screen>
|
|
|
-
|
|
|
<para>Remove tests that cannot be built in chroot:</para>
|
|
|
|
|
|
<screen><userinput remap="pre">sed '181,$ d' -i src/resolve/meson.build</userinput></screen>
|
|
@@ -97,7 +89,7 @@ meson --prefix=/usr \
|
|
|
-Drpmmacrosdir=no \
|
|
|
-Dhomed=false \
|
|
|
-Duserdb=false \
|
|
|
- -Dman=true \
|
|
|
+ -Dman=false \
|
|
|
-Dmode=release \
|
|
|
-Ddocdir=/usr/share/doc/systemd-&systemd-version; \
|
|
|
..</userinput></screen>
|
|
@@ -192,6 +184,15 @@ meson --prefix=/usr \
|
|
|
</listitem>
|
|
|
</varlistentry>
|
|
|
|
|
|
+ <varlistentry>
|
|
|
+ <term><parameter>-Dman=false</parameter></term>
|
|
|
+ <listitem>
|
|
|
+ <para>Prevent the generation of man pages to avoid extra
|
|
|
+ dependencies. We will install pre-generated man pages for systemd
|
|
|
+ from a tarball later.</para>
|
|
|
+ </listitem>
|
|
|
+ </varlistentry>
|
|
|
+
|
|
|
<varlistentry>
|
|
|
<term><parameter>-Dmode=release</parameter></term>
|
|
|
<listitem>
|
|
@@ -210,9 +211,9 @@ meson --prefix=/usr \
|
|
|
|
|
|
<screen><userinput remap="install">LANG=en_US.UTF-8 ninja install</userinput></screen>
|
|
|
|
|
|
- <para>Remove an unnecessary symbolic link:</para>
|
|
|
+ <para>Install the man pages:</para>
|
|
|
|
|
|
-<screen><userinput remap="install">rm -f /usr/bin/xsltproc</userinput></screen>
|
|
|
+<screen><userinput remap="install">tar -xf ../../systemd-man-pages-&systemd-man-version;.tar.xz --strip-components=1 -C /usr/share/man</userinput></screen>
|
|
|
|
|
|
<para>Remove a useless directory:</para>
|
|
|
|