diff --git a/Makefile.am b/Makefile.am
index 8fc3a761107ae95daf15b27fc34953f22344e030..720daedd73cb0cad506f8a6fc1cbd8d9f9f55778 100644 (file)
--- a/Makefile.am
+++ b/Makefile.am
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: