diff mbox

alsa-utils: disable manpages generation from reStructured text

Message ID aa4954d6b24aa8262aa80964c01abe78de42b9d0.1483265273.git.baruch@tkos.co.il
State Accepted
Commit a954b84b584302998c70960bcb3197192f8d6d7c
Headers show

Commit Message

Baruch Siach Jan. 1, 2017, 10:07 a.m. UTC
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

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
 package/alsa-utils/alsa-utils.mk | 1 +
 1 file changed, 1 insertion(+)

Comments

Bernd Kuhls Jan. 1, 2017, 10:38 a.m. UTC | #1
Am Sun, 01 Jan 2017 12:07:53 +0200 schrieb Baruch Siach:

> Signed-off-by: Baruch Siach
> <baruch@tkos.co.il>
> ---
>  package/alsa-utils/alsa-utils.mk | 1 + 1 file changed, 1 insertion(+)

Acked-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Peter Korsgaard Jan. 4, 2017, 4:11 p.m. UTC | #2
>>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> 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.

 > 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

 > Signed-off-by: Baruch Siach <baruch@tkos.co.il>

Committed, thanks.
diff mbox

Patch

diff --git a/package/alsa-utils/alsa-utils.mk b/package/alsa-utils/alsa-utils.mk
index 9113b8de62bf..a72191e9b2ef 100644
--- a/package/alsa-utils/alsa-utils.mk
+++ b/package/alsa-utils/alsa-utils.mk
@@ -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)