remove useless DISTCLEANFILES = autom4te.cache
[aubio.git] / Makefile.am
1 if DOCBOOKFOUND
2 DOC = doc
3 endif
4
5 if SWIGFOUND
6 if PYTHONFOUND
7 SWIGDIR = swig
8 PYTHONDIR = python
9 endif
10 endif
11
12 SUBDIRS = src ext examples sounds plugins $(PYTHONDIR) $(SWIGDIR) $(DOC)
13 EXTRA_DIST = bootstrap VERSION
14
15 docs:
16         cd doc && make update-docs && cd ..
17
18 doc-devel:
19         cd doc && make doc-devel && cd ..
20
21 doc-user:
22         cd doc && make doc-user && cd ..
23
24 doc-examples:
25         cd doc && make doc-examples && cd ..
26
27 install-pkgconfig:
28         $(mkinstalldirs) "$(DESTDIR)$(libdir)/pkgconfig"
29         $(INSTALL_DATA) aubio.pc "$(DESTDIR)$(libdir)/pkgconfig/aubio.pc"
30
31 uninstall-pkgconfig:
32         $(RM) "$(DESTDIR)$(libdir)/pkgconfig/aubio.pc"
33         -rmdir "$(DESTDIR)$(libdir)/pkgconfig"
34
35 install-data-hook: install-pkgconfig
36 uninstall-hook: uninstall-pkgconfig
37