mirror of
https://github.com/pikvm/ustreamer.git
synced 2025-12-23 18:50:00 +00:00
23 lines
442 B
Makefile
23 lines
442 B
Makefile
-include ../config.mk
|
|
|
|
R_DESTDIR ?=
|
|
PREFIX ?= /usr/local
|
|
|
|
PY ?= python3
|
|
|
|
|
|
# =====
|
|
all:
|
|
$(info == PY_BUILD ustreamer-*.so)
|
|
rm -rf root
|
|
$(ECHO) $(PY) -m build --skip-dependency-check --no-isolation
|
|
$(ECHO) $(PY) -m pip install dist/*.whl --ignore-installed --root=./root
|
|
|
|
|
|
install:
|
|
$(PY) -m pip install dist/*.whl --ignore-installed --prefix=$(PREFIX) --root=$(if $(R_DESTDIR),$(R_DESTDIR),/)
|
|
|
|
|
|
clean:
|
|
rm -rf root dist ustreamer.egg-info
|