From: oetiker Date: Wed, 2 May 2007 15:23:34 +0000 (+0000) Subject: fix python for staged installs X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=08ba6fd3d1a554f7ba249d96688c0d5a3e9814f0;p=rrdtool.git fix python for staged installs git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1045 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/bindings/Makefile.am b/bindings/Makefile.am index fc14d3c..9d406bb 100644 --- a/bindings/Makefile.am +++ b/bindings/Makefile.am @@ -20,7 +20,7 @@ install-data-local: test -f perl-piped/Makefile && cd perl-piped && $(MAKE) install || true test -f perl-shared/Makefile && cd perl-shared && $(MAKE) install || true test -f ruby/Makefile && cd ruby && $(MAKE) EPREFIX=$(exec_prefix) $(RUBY_MAKE_OPTIONS) install || true - test -d python/build && cd python && rm -rf build && env LIBDIR=$(libdir) $(PYTHON) setup.py install --prefix=$(prefix) --exec-prefix=$(exec_prefix) || true + test -d python/build && cd python && rm -rf build && env LIBDIR=$(libdir) $(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix) --exec-prefix=$(DESTDIR)$(exec_prefix) || true # rules for buildung the ruby module ruby: