source: Makefile @ e8ed383

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change on this file since e8ed383 was e8ed383, checked in by Paul Brossier <piem@piem.org>, 8 years ago

Makefile: use pip to install

  • Property mode set to 100644
File size: 892 bytes
RevLine 
[81ad577]1WAFCMD=python waf
[8e94af5]2all: build
3
4checkwaf:
5        @[ -f waf ] || make getwaf
6
7getwaf:
[e330033]8        curl https://waf.io/waf-1.8.14 > waf
[81ad577]9        @chmod +x waf
10
11expandwaf:
[8e94af5]12        @[ -d wafilb ] || rm -fr waflib
[81ad577]13        @$(WAFCMD) --help > /dev/null
[0e39e88]14        @mv .waf*/waflib . && rm -fr .waf*
[6121dd4]15        @sed '/^#==>$$/,$$d' waf > waf2 && mv waf2 waf
[8e94af5]16        @chmod +x waf
17
[e372a0f]18configure: checkwaf
19        $(WAFCMD) configure
20
21build: configure
22        $(WAFCMD) build
[8e94af5]23
[972a326]24build_python:
25        cd python && ./setup.py build
26
[69212a0]27test_python:
[e8ed383]28        cd python && pip install .
[b099f50]29        [ -f build/src/libaubio.[0-9].dylib ] && ( mkdir -p ~/lib && cp -prv build/src/libaubio.4.dylib ~/lib ) || true
[0d45ec4]30        LD_LIBRARY_PATH=$(PWD)/build/src python/tests/run_all_tests
[69212a0]31
[972a326]32clean_python:
33        cd python && ./setup.py clean
34
[a2ae70a]35build_python3:
36        cd python && python3 ./setup.py build
37
38clean_python3:
39        cd python && python3 ./setup.py clean
40
[ddd9861]41clean:
[81ad577]42        $(WAFCMD) clean
[ddd9861]43
[e372a0f]44distcheck: checkwaf
[81ad577]45        $(WAFCMD) distcheck
[8e94af5]46
47help:
[81ad577]48        $(WAFCMD) --help
Note: See TracBrowser for help on using the repository browser.