From 6c1c81f57d6cacc7e1526fd9dc38aef835b0b2ab Mon Sep 17 00:00:00 2001
From: Boris Nagaev <bnagaev@gmail.com>
Date: Sun, 25 Oct 2015 04:23:36 +0300
Subject: aubio: disable txt2man and doxygen docs

see #952
---
 src/aubio.mk | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/aubio.mk b/src/aubio.mk
index bdc9c82..8c7adbe 100644
--- a/src/aubio.mk
+++ b/src/aubio.mk
@@ -21,7 +21,7 @@ define $(PKG)_BUILD
         AR='$(TARGET)-ar'                         \
         CC='$(TARGET)-gcc'                        \
         PKGCONFIG='$(TARGET)-pkg-config'          \
-        ./waf configure build install             \
+        ./waf configure                           \
             -j '$(JOBS)'                          \
             --with-target-platform='win$(BITS)'   \
             --prefix='$(PREFIX)/$(TARGET)'        \
@@ -30,6 +30,11 @@ define $(PKG)_BUILD
                 --enable-static --disable-shared, \
                 --disable-static --enable-shared)
 
+    # disable txt2man and doxygen
+    $(SED) -i '/\(TXT2MAN\|DOXYGEN\)/d' '$(1)/build/c4che/_cache.py'
+
+    cd '$(1)' && ./waf build install
+
     # It is not trivial to adjust the installation in waf-based builds
     $(if $(BUILD_STATIC),                         \
         $(INSTALL) -m644 '$(1)/build/src/libaubio.a' '$(PREFIX)/$(TARGET)/lib')
-- 
cgit v0.12