source: Makefile.am @ 974dddc

feature/autosinkfeature/constantqfeature/pitchshiftfeature/pydocstringsfeature/timestretchpitchshiftsamplertimestretchyinfft+
Last change on this file since 974dddc was b995296, checked in by Paul Brossier <piem@piem.org>, 13 years ago

Makefile.am: added simple 'make lcov' rules

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