X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=Makefile.am;h=03bdd39a3500abf9cd514b02881583510b392238;hb=e5e5d99350fa54e22f07b90fbc3102df51565ad9;hp=9a96eb27c8594f65ae0079f6bbe48e74a4e0faaa;hpb=7ab531887edb3758b6db0fc0c00aa4beee1bc3e2;p=collectd.git diff --git a/Makefile.am b/Makefile.am index 9a96eb27..03bdd39a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,12 +1,23 @@ -SUBDIRS = libltdl src bindings +ACLOCAL_AMFLAGS = -I libltdl/m4 -INCLUDES = $(LTDLINCL) +SUBDIRS = -EXTRA_DIST = contrib version-gen.sh +if BUILD_INCLUDED_LTDL +SUBDIRS += libltdl +endif -dist-hook: - find $(distdir) -type d -name '.svn' | xargs rm -rf +SUBDIRS += proto src bindings . + +AM_CPPFLAGS = $(LTDLINCL) + +EXTRA_DIST = contrib version-gen.sh testwrapper.sh install-exec-hook: $(mkinstalldirs) $(DESTDIR)$(localstatedir)/run $(mkinstalldirs) $(DESTDIR)$(localstatedir)/lib/$(PACKAGE_NAME) + $(mkinstalldirs) $(DESTDIR)$(localstatedir)/log + +maintainer-clean-local: + -rm -f -r libltdl + -rm -f INSTALL + -rm -f aclocal.m4