Pass the DESTDIR variable to setup.py destdir
authorBen Webb <bjwebb67@googlemail.com>
Tue, 12 Jul 2011 17:05:24 +0000 (18:05 +0100)
committerBen Webb <bjwebb67@googlemail.com>
Tue, 12 Jul 2011 17:05:24 +0000 (18:05 +0100)
This allows python modules to be built when creating packages.

Signed-off-by: Ben Webb <bjwebb67@googlemail.com>
Open-ILS/src/python/Makefile.am

index 4034547..3167304 100644 (file)
@@ -9,6 +9,6 @@ all-local:
 # ------------------------------------------------------------------------------
 install-data-local:
        @echo $@
-       python @srcdir@/setup.py install
+       python @srcdir@/setup.py install --root $(or $(DESTDIR), /)