add --root option to python module build

This commit is contained in:
Levin Du 2008-07-29 12:39:17 +08:00 committed by arch
parent dede5e71bf
commit 7dfa17b260

View file

@ -124,7 +124,7 @@ amounts.so: amounts.cc libamounts.la
install-exec-hook:
CFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS) -L. -L.libs" \
python setup.py install --prefix=$(prefix)
python setup.py install --prefix=$(prefix) --root=$(DESTDIR)/
endif