alsa-utils: disable manpages generation from reStructured text
authorBaruch Siach <baruch@tkos.co.il>
Sun, 1 Jan 2017 10:07:53 +0000 (12:07 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 4 Jan 2017 16:11:23 +0000 (17:11 +0100)
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>
Acked-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/alsa-utils/alsa-utils.mk

index 9113b8de62bf28d102c6098e82dddce4e9bfd5c4..a72191e9b2efd1e92e5130c936e5566e51edda83 100644 (file)
@@ -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)