source: Makefile.am @ 9ae6e03

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

Makefile.am, configure.ac: go down into java and tests, make java compilation somewhat conditional (needs improvements)

  • Property mode set to 100644
File size: 1.2 KB
RevLine 
[3050cb8]1if DOCBOOKFOUND
2DOC = doc
3endif
4
5if SWIGFOUND
6SWIGDIR = swig
[48b847b]7if PYTHONFOUND
[3050cb8]8PYTHONDIR = python
9endif
10endif
[fcc3fd2]11if JAVAFOUND
12JAVADIR = java
13endif
14
[3050cb8]15
[fcc3fd2]16SUBDIRS = src ext cpp examples sounds plugins $(PYTHONDIR) $(SWIGDIR) $(JAVADIR) $(DOC) tests
[96fb8ad]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
[aa3c8b7]41
[b995296]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.