source: Makefile.am @ 4e19e5b

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

Makefile.am: only compile java stuff if swig is installed

  • Property mode set to 100644
File size: 1.2 KB
Line 
1if DOCBOOKFOUND
2DOC = doc
3endif
4
5if SWIGFOUND
6SWIGDIR = swig
7if PYTHONFOUND
8PYTHONDIR = python
9endif
10if JAVAFOUND
11JAVADIR = java
12endif
13endif
14
15
16SUBDIRS = src ext cpp examples sounds plugins $(PYTHONDIR) $(SWIGDIR) $(JAVADIR) $(DOC) tests
17EXTRA_DIST = bootstrap VERSION
18
19docs:
20        cd doc && make update-docs && cd ..
21
22doc-devel:
23        cd doc && make doc-devel && cd ..
24
25doc-user:
26        cd doc && make doc-user && cd ..
27
28doc-examples:
29        cd doc && make doc-examples && cd ..
30
31install-pkgconfig:
32        $(mkinstalldirs) "$(DESTDIR)$(libdir)/pkgconfig"
33        $(INSTALL_DATA) aubio.pc "$(DESTDIR)$(libdir)/pkgconfig/aubio.pc"
34
35uninstall-pkgconfig:
36        $(RM) "$(DESTDIR)$(libdir)/pkgconfig/aubio.pc"
37        -rmdir "$(DESTDIR)$(libdir)/pkgconfig"
38
39install-data-hook: install-pkgconfig
40uninstall-hook: uninstall-pkgconfig
41
42lcov: all
43        mkdir -p $(top_builddir)/lcov
44        lcov --directory $(top_builddir) --output-file $(top_builddir)/lcov/aubio.info --compat-libtool --zerocounters
45        cd tests/python && ./run_all_tests -v || echo "some tests failed"
46        lcov --directory $(top_builddir) --output-file $(top_builddir)/lcov/aubio.info --compat-libtool --capture
47        genhtml --output-directory $(top_builddir)/lcov $(top_builddir)/lcov/aubio.info
Note: See TracBrowser for help on using the repository browser.