X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=Makefile.am;h=03bdd39a3500abf9cd514b02881583510b392238;hb=362a519e00d50fc3657d485135075f753ec71bab;hp=f8279e3ed6273b37a0384bd342c7a8a90289e97d;hpb=6e481905ed44d53c8ebf00224490b76490e018dd;p=collectd.git diff --git a/Makefile.am b/Makefile.am index f8279e3e..03bdd39a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,8 +1,23 @@ -AUTOMAKE_OPTIONS = dist-bzip2 +ACLOCAL_AMFLAGS = -I libltdl/m4 -SUBDIRS = src +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