diff --git a/Makefile.am b/Makefile.am
index 5f3e09c2fb011ae5294d18f213e679f9f2d18908..ea6447aac8243c692366c8d3137e5d6f8303a3e2 100644 (file)
--- a/Makefile.am
+++ b/Makefile.am
SUBDIRS = libraries src bindings doc examples
# the following files are not mentioned in any other Makefile
-EXTRA_DIST = COPYRIGHT CHANGES NT-BUILD-TIPS.txt TODO CONTRIBUTORS rrdtool.spec
+EXTRA_DIST = COPYRIGHT CHANGES NT-BUILD-TIPS.txt TODO CONTRIBUTORS THREADS \
+ rrdtool.spec
CLEANFILES = config.cache
# use relaxed rules when building dists
-AUTOMAKE_OPTIONS= foreign no-dependencies
+AUTOMAKE_OPTIONS= foreign
# where we keep local rules for automake
-ACLOCAL_M4= $(top_srcdir)/config/aclocal.m4
+
+ACLOCAL_M4= $(top_srcdir)/aclocal.m4
AUTOHEADER = @AUTOHEADER@ --localdir=$(top_srcdir)/config
AUTOCONF = @AUTOCONF@ --localdir=$(top_srcdir)/config
site-perl-inst: site-perl-install
-site-perl-install: bindings/perl-piped/Makefile bindings/perl-shared/Makefile
+site-perl-install: all bindings/perl-piped/Makefile bindings/perl-shared/Makefile
cd bindings/perl-piped && $(MAKE) install
cd bindings/perl-shared && $(MAKE) install
-site-tcl-install:
+site-tcl-install: all
cd bindings/tcl && $(MAKE) tcl-install
##END##