LP 799719: Pass the DESTDIR variable to python installer
authorDan Scott <dan@coffeecode.net>
Tue, 16 Aug 2011 15:50:45 +0000 (11:50 -0400)
committerDan Scott <dan@coffeecode.net>
Tue, 16 Aug 2011 15:50:45 +0000 (11:50 -0400)
Based on Ben Webb's patch, but using the same triple-slash to avoid any
possibility of confusion about the installation location (see also the
same adjustment made to OpenSRF).

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/python/Makefile.am

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