summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 596355a)
raw | patch | inline | side by side (parent: 596355a)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 2 Mar 2010 16:54:04 +0000 (16:54 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 2 Mar 2010 16:54:04 +0000 (16:54 +0000) |
bindings/Makefile.am | patch | blob | history |
diff --git a/bindings/Makefile.am b/bindings/Makefile.am
index 70beba1695a31bad90387bd7360056c773a5694d..c4fdc10f292ab7b70c3b92fc4bc9fb83998386fc 100644 (file)
--- a/bindings/Makefile.am
+++ b/bindings/Makefile.am
# rules for building the ruby module
# RUBYARCHDIR= is to work around in a makefile quirk not sure
# it is is the right thing todo, but it makes rrdtool build on freebsd as well
-ruby:
+ruby: Makefile
cd ruby && $(RUBY) extconf.rb && $(MAKE) EPREFIX=$(exec_prefix) $(RUBY_MAKE_OPTIONS) RUBYARCHDIR=
# rules for building the pyton module
-python:
+python: Makefile
cd python && env BUILDLIBDIR=../../src/.libs $(PYTHON) setup.py build_ext --rpath=$(libdir) && env LIBDIR=../../src/.libs $(PYTHON) setup.py build
# rules for building the perl module
perl_shared: perl-shared/Makefile
cd perl-shared && $(MAKE)
-perl-shared/Makefile: perl-shared/Makefile.PL
+perl-shared/Makefile: perl-shared/Makefile.PL Makefile
cd perl-shared && $(PERL) Makefile.PL $(PERLFLAGS) $(PERL_MAKE_OPTIONS) RPATH=$(libdir)
# LIBS="$(LDFLAGS) $(LIBS)" $(PERLFLAGS) $(PERL_MAKE_OPTIONS)