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