From 9b92f57e79ae7c7ffedff66bd36bf1061897d0de Mon Sep 17 00:00:00 2001 From: oetiker Date: Thu, 21 Jan 2010 13:42:48 +0000 Subject: [PATCH] Attached patch passes DESTDIR to setup.py as --root= iff a DESTDIR was given. Bernhard Reutner-Fischer git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@2006 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/Makefile.am b/program/Makefile.am index 8fc3a761..720daedd 100644 --- a/program/Makefile.am +++ b/program/Makefile.am @@ -46,7 +46,7 @@ site-tcl-install: all cd bindings/tcl && $(MAKE) tcl-install site-python-install: all - cd bindings/python && $(PYTHON) setup.py install + cd bindings/python && $(PYTHON) setup.py install $(if $(DESTDIR),--root=$(DESTDIR)) # find . -name "*.c" -or -name "*.h" | xargs perl -0777 -n -e 'while (s/typedef\s+(?:unsigned\s+|signed\s+|unival\s+)?\S+\s+\*?([^{}\s;(]+)//){print "-T$1\n"}' indent: -- 2.30.2