X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=Makefile.am;h=b79ea1cabfbdc562cfcd46983771b1351d6a5d23;hb=412a434094fb5ef130b026962945ca5168bb4036;hp=c60110c4c22c014ff92742f9fa053b9ccfab1877;hpb=6e765a0287381977bd90efa8a46c0f1d1aecd1e5;p=collectd.git diff --git a/Makefile.am b/Makefile.am index c60110c4..b79ea1ca 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,10 +1,23 @@ -SUBDIRS = libltdl src -INCLUDES = $(LTDLINCL) +ACLOCAL_AMFLAGS = -I libltdl/m4 -EXTRA_DIST = collectd.spec contrib debian +SUBDIRS = -dist-hook: - find $(distdir) -type d -name '.svn' | xargs rm -rf +if BUILD_INCLUDED_LTDL +SUBDIRS += libltdl +endif + +SUBDIRS += src bindings . + +AM_CPPFLAGS = $(LTDLINCL) + +EXTRA_DIST = contrib version-gen.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