Added --root option to Python install. This change from Levin.
This commit is contained in:
parent
009dd3969a
commit
94463c7b0f
1 changed files with 5 additions and 0 deletions
|
|
@ -200,6 +200,11 @@ pyexec_PROGRAMS = ledger.so
|
|||
clean-local:
|
||||
rm -fr build
|
||||
|
||||
install-exec-hook:
|
||||
CFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS) -L. -L.libs" \
|
||||
$(PYTHON) python/setup.py install \
|
||||
--prefix=$(prefix) --root=$(DESTDIR)/
|
||||
|
||||
ledger_so_SOURCES = $(libamounts_la_SOURCES) $(libledger_la_SOURCES) \
|
||||
$(libpyledger_la_SOURCES) python/pyledger.cc
|
||||
ledger_so_DEPENDENCIES = $(lib_LTLIBRARIES)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue