shithub: aubio

ref: 50e99cc1567a617ea03de844a3928637e38a8e39
dir: /Makefile.am/

View raw version
if DOCBOOKFOUND
DOC = doc
endif

if SWIGFOUND
if PYTHONFOUND
SWIGDIR = swig
PYTHONDIR = python
endif
endif

SUBDIRS = src ext examples sounds plugins $(PYTHONDIR) $(SWIGDIR) $(DOC)
EXTRA_DIST = bootstrap VERSION
DISTCLEANFILES = autom4te.cache

docs:
	cd doc && make update-docs && cd ..

doc-devel:
	cd doc && make doc-devel && cd ..

doc-user:
	cd doc && make doc-user && cd ..

doc-examples:
	cd doc && make doc-examples && cd ..

install-pkgconfig:
	$(mkinstalldirs) "$(DESTDIR)$(libdir)/pkgconfig"
	$(INSTALL_DATA) aubio.pc "$(DESTDIR)$(libdir)/pkgconfig/aubio.pc"

uninstall-pkgconfig:
	$(RM) "$(DESTDIR)$(libdir)/pkgconfig/aubio.pc"
	-rmdir "$(DESTDIR)$(libdir)/pkgconfig"

install-data-hook: install-pkgconfig
uninstall-hook: uninstall-pkgconfig