Skip to contentSkip to conversation

alsa-utils: disable manpages generation from reStructured text

PATCH New Baruch Siach 3 participants 3 messages Jan 1, 2017 – Jan 4, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 alsa-utils: disable manpages generation from reStructured text

The alsaucm man page rst source file is missing in the tarball. When rst2man is detected on the host, build fails:

make[2]: *** No rule to make target 'alsaucm.1', needed by 'all-am'. Stop.

Upstream added[1] the missing file to the tarball to fix this issue. But since we don't need the manpage to begin with, just disable rst2man to shorten build time by a few milliseconds.

[1] http://git.alsa-project.org/?p=alsa-utils.git;a=commitdiff;h=c6bdde171e1532f7b37333a5a746b6e662f12c53

---
 package/alsa-utils/alsa-utils.mk | 1 +
 1 file changed, 1 insertion(+)
package/alsa-utils/alsa-utils.mk +1 -0
index 9113b8de62bf..a72191e9b2ef 100644
@@ -23,6 +23,7 @@ ALSA_UTILS_CONF_ENV = \
 
 ALSA_UTILS_CONF_OPTS = \
 	--disable-xmlto \
+	--disable-rst2man \
 	--with-curses=$(if $(BR2_PACKAGE_NCURSES_WCHAR),ncursesw,ncurses)
 
 ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 alsa-utils: disable manpages generation from reStructured text

Am Sun, 01 Jan 2017 12:07:53 +0200 schrieb Baruch Siach:

Quoted 4 lines

Signed-off-by: Baruch Siach
<[email protected]>
---
package/alsa-utils/alsa-utils.mk | 1 + 1 file changed, 1 insertion(+)

#2 lore raw

PATCH 1/1 alsa-utils: disable manpages generation from reStructured text

In reply to Baruch Siach
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Baruch" == Baruch Siach <[email protected]> writes:

The alsaucm man page rst source file is missing in the tarball. When rst2man is detected on the host, build fails:

make[2]: *** No rule to make target 'alsaucm.1', needed by 'all-am'. Stop.

Quoted 7 lines

Upstream added[1] the missing file to the tarball to fix this issue. But since we don't need the manpage to begin with, just disable rst2man to shorten build time by a few milliseconds.

[1] http://git.alsa-project.org/?p=alsa-utils.git;a=commitdiff;h=c6bdde171e1532f7b37333a5a746b6e662f12c53

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard