source: Makefile.am @ 3a6aa799

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

Makefile.am: include m4

  • 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
12ACLOCAL_AMFLAGS = -I m4
13
14SUBDIRS = src examples sounds $(PYTHONDIR) $(SWIGDIR) $(DOC) tests
15EXTRA_DIST = bootstrap VERSION
16
17docs:
18        cd doc && make update-docs && cd ..
19
20doc-devel:
21        cd doc && make doc-devel && cd ..
22
23doc-user:
24        cd doc && make doc-user && cd ..
25
26doc-examples:
27        cd doc && make doc-examples && cd ..
28
29install-pkgconfig:
30        $(mkinstalldirs) "$(DESTDIR)$(libdir)/pkgconfig"
31        $(INSTALL_DATA) aubio.pc "$(DESTDIR)$(libdir)/pkgconfig/aubio.pc"
32
33uninstall-pkgconfig:
34        $(RM) "$(DESTDIR)$(libdir)/pkgconfig/aubio.pc"
35        -rmdir "$(DESTDIR)$(libdir)/pkgconfig"
36
37install-data-hook: install-pkgconfig
38uninstall-hook: uninstall-pkgconfig
39
40lcov: all
41        mkdir -p $(top_builddir)/lcov
42        lcov --directory $(top_builddir) --output-file $(top_builddir)/lcov/aubio.info --compat-libtool --zerocounters
43        cd tests/python && ./run_all_tests -v || echo "some tests failed"
44        lcov --directory $(top_builddir) --output-file $(top_builddir)/lcov/aubio.info --compat-libtool --capture
45        genhtml --output-directory $(top_builddir)/lcov $(top_builddir)/lcov/aubio.info
Note: See TracBrowser for help on using the repository browser.