X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=Makefile.am;h=03bdd39a3500abf9cd514b02881583510b392238;hb=419c41409a5c3ba5531008165dff12c6ef5cc819;hp=dee72e706e030f8cec6274b4120918fe71a96141;hpb=d0cce1340a89649329248c5777d28f0cc98aad9e;p=collectd.git diff --git a/Makefile.am b/Makefile.am index dee72e70..03bdd39a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,12 +1,23 @@ -SUBDIRS = libltdl src +ACLOCAL_AMFLAGS = -I libltdl/m4 -INCLUDES = $(LTDLINCL) +SUBDIRS = -EXTRA_DIST = collectd.spec contrib debian +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