diff --git a/Makefile.am b/Makefile.am
index 5015b66e0744ba9abce18757c118d669f65b90d8..b79ea1cabfbdc562cfcd46983771b1351d6a5d23 100644 (file)
--- a/Makefile.am
+++ b/Makefile.am
-SUBDIRS = libltdl src
+ACLOCAL_AMFLAGS = -I libltdl/m4
-INCLUDES = $(LTDLINCL)
+SUBDIRS =
-EXTRA_DIST = collectd.spec contrib
+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)$(localstatedir)/run
$(mkinstalldirs) $(DESTDIR)$(localstatedir)/lib/$(PACKAGE_NAME)
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