X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=Makefile.am;h=b79ea1cabfbdc562cfcd46983771b1351d6a5d23;hb=6ca14739ed8cc76de14bd9ac4d549ba2c7c72a93;hp=a465d3cafc152e0b885386b149ce34f820c0ff86;hpb=7041b203bdc74f1cc97ed4213c6e57d577afb97e;p=collectd.git diff --git a/Makefile.am b/Makefile.am index a465d3ca..b79ea1ca 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,11 +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