X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=Makefile.am;h=b79ea1cabfbdc562cfcd46983771b1351d6a5d23;hb=a3000cbe3a12163148a28c818269bbdabda1cf5c;hp=7dda784e75277ed143a67abb84eda51569c2b6be;hpb=569a23ffadffa658bd7af8c58be6f36e4e8a6854;p=collectd.git diff --git a/Makefile.am b/Makefile.am index 7dda784e..b79ea1ca 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,13 +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 += src bindings . + +AM_CPPFLAGS = $(LTDLINCL) + +EXTRA_DIST = contrib version-gen.sh install-exec-hook: - $(mkinstalldirs) $(DESTDIR)$(sysconfdir) $(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