Python bindings: respect DESTDIR.
Thanks Aurelien Jacobs <aurel@gnuage.org> for a suggested fix/improvement.
This commit is contained in:
parent
787ec9dbd9
commit
6ae5362589
|
@ -504,8 +504,11 @@ $(PDIR)/timestamp: bindings/cxx/libsigrokxx.la $(PDIR)/sigrok/core/classes.i \
|
||||||
| grep -v "command line option.*Wstrict-prototypes"; true
|
| grep -v "command line option.*Wstrict-prototypes"; true
|
||||||
$(AM_V_at)touch $(PDIR)/timestamp
|
$(AM_V_at)touch $(PDIR)/timestamp
|
||||||
|
|
||||||
python-install:
|
$(DESTDIR)$(prefix):
|
||||||
cd $(PDIR) && $(PYTHON) $(abs_srcdir)/$(PDIR)/setup.py --quiet install --prefix $(prefix)
|
$(MKDIR_P) $@
|
||||||
|
|
||||||
|
python-install: $(DESTDIR)$(prefix)
|
||||||
|
cd $(PDIR) && $(PYTHON) $(abs_srcdir)/$(PDIR)/setup.py --quiet install --prefix $(prefix) `test "$(DESTDIR)" && echo --root=$(DESTDIR)`
|
||||||
|
|
||||||
python-clean:
|
python-clean:
|
||||||
$(AM_V_at)$(MAKE) python-quietclean
|
$(AM_V_at)$(MAKE) python-quietclean
|
||||||
|
|
Loading…
Reference in New Issue