1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

r13363: Honour the $(DESTDIR) Makefile variable when installing Python

extensions.  Fix from Vladimir Lettiev.
(This used to be commit 7ca75d9060)
This commit is contained in:
Tim Potter 2006-02-06 06:16:35 +00:00 committed by Gerald (Jerry) Carter
parent aa2e8f6b2c
commit 32f0fa59c0

View File

@ -1470,7 +1470,7 @@ python_install: $(PYTHON_PICOBJS)
PYTHON_OBJS="$(PYTHON_PICOBJS)" \
PYTHON_CFLAGS="$(CFLAGS) $(CPPFLAGS)" \
LIBS="$(LDFLAGS) $(LIBS)" \
$(PYTHON) python/setup.py install
$(PYTHON) python/setup.py install --root=$(DESTDIR)
python_clean:
@-if test -n "$(PYTHON)"; then $(PYTHON) python/setup.py clean; fi