diff --git a/Makefile.am b/Makefile.am
index 29633d19b3c27ca1183bd7511ddca6bf5a464dc4..4bba56ad0c2cbcfec8346c0beebbba2b86a02e5f 100644 (file)
--- a/Makefile.am
+++ b/Makefile.am
RSYNC = rsync --rsh=ssh
# build the following subdirectories
-SUBDIRS = libraries bindings src doc examples
+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
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##