summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBoris Nagaev <bnagaev@gmail.com>2015-11-10 07:13:50 (GMT)
committerBoris Nagaev <bnagaev@gmail.com>2015-11-10 07:13:50 (GMT)
commit16ce867a16bf9acb58cd8da730fc80dfa70e6e8d (patch)
tree08773f91f923984d9b73a569e3281898b225cc0e
parent2004129939f7bea374b01de3e19968af89b7402b (diff)
parent6c1c81f57d6cacc7e1526fd9dc38aef835b0b2ab (diff)
downloadmxe-16ce867a16bf9acb58cd8da730fc80dfa70e6e8d.zip
mxe-16ce867a16bf9acb58cd8da730fc80dfa70e6e8d.tar.gz
mxe-16ce867a16bf9acb58cd8da730fc80dfa70e6e8d.tar.bz2
Merge pull request #956 from LuaAndC/aubio-no-docs
aubio: disable txt2man and doxygen docs
-rw-r--r--src/aubio.mk7
1 files changed, 6 insertions, 1 deletions
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')