fixed python destdir

This commit is contained in:
Devaev Maxim 2021-01-20 14:24:12 +03:00
parent eec8e41b2b
commit fe5beb0114

View File

@ -90,7 +90,7 @@ install: $(USTR) $(DUMP)
gzip $(DESTDIR)$(MANPREFIX)/man1/$(USTR).1
gzip $(DESTDIR)$(MANPREFIX)/man1/$(DUMP).1
ifneq ($(call optbool,$(WITH_PYTHON)),)
cd src/python && python3 setup.py install --prefix=$(PREFIX) --root=$(DESTDIR)
cd src/python && python3 setup.py install --prefix=$(PREFIX) --root=$(if $(DESTDIR),$(DESTDIR),/)
endif