pulseaudio: don't build man pages if not needed
authorPeter Korsgaard <jacmet@sunsite.dk>
Sun, 20 May 2012 00:06:03 +0000 (02:06 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 20 May 2012 00:06:03 +0000 (02:06 +0200)
No sense in building them if they are thrown away by target-finalize anyway.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/multimedia/pulseaudio/pulseaudio.mk

index bc5a0ae4ba5b2107b8478d587863351f0d76d689..a5534da2239a834d5b81472086261e3d4cb34b3c 100644 (file)
@@ -11,7 +11,8 @@ PULSEAUDIO_CONF_OPT = \
        --localstatedir=/var \
        --disable-default-build-tests \
        --disable-legacy-runtime-dir \
-       --disable-legacy-database-entry-format
+       --disable-legacy-database-entry-format \
+       $(if $(BR2_HAVE_DOCUMENTATION),,--disable-manpages)
 
 PULSEAUDIO_DEPENDENCIES = \
        host-pkg-config libtool json-c libsndfile speex host-intltool \