pipewire/Makefile.in
Wim Taymans 6c8fd3c29d media-session: instal media session
Install the example media-session
Load the media session according to the PATH
Include the example directory in the PATH so we can run the media
session.
2020-01-13 16:27:46 +01:00

59 lines
1.4 KiB
Makefile

all:
ninja -C @BUILD_ROOT@
install:
ninja -C @BUILD_ROOT@ install
uninstall:
ninja -C @BUILD_ROOT@ uninstall
clean:
ninja -C @BUILD_ROOT@ clean
run: all
SPA_PLUGIN_DIR=@BUILD_ROOT@/spa/plugins \
PIPEWIRE_MODULE_DIR=@BUILD_ROOT@ \
PATH=@BUILD_ROOT@/src/examples:$(PATH) \
PIPEWIRE_CONFIG_FILE=@BUILD_ROOT@/src/daemon/pipewire.conf \
$(DBG) @BUILD_ROOT@/src/daemon/pipewire
gdb:
$(MAKE) run DBG=gdb
valgrind:
$(MAKE) run DBG="DISABLE_RTKIT=1 valgrind"
test: all
ninja -C @BUILD_ROOT@ test
benchmark: all
ninja -C @BUILD_ROOT@ benchmark
monitor: all
SPA_PLUGIN_DIR=@BUILD_ROOT@/spa/plugins \
PIPEWIRE_MODULE_DIR=@BUILD_ROOT@/src/modules/ \
@BUILD_ROOT@/src/tools/pipewire-monitor
cli: all
SPA_PLUGIN_DIR=@BUILD_ROOT@/spa/plugins \
PIPEWIRE_MODULE_DIR=@BUILD_ROOT@/src/modules/ \
@BUILD_ROOT@/src/tools/pipewire-cli
shell: all
ninja -C @BUILD_ROOT@ uninstalled
dist: all
git archive --prefix=pipewire-@VERSION@/ -o pipewire-@VERSION@.tar.gz @TAG@
rpm: dist
rpmbuild -ta pipewire-@VERSION@.tar.gz
publish: all
git branch -D gh-pages 2>/dev/null || true && \
git branch -D draft 2>/dev/null || true && \
git checkout -b draft && \
git add -f @BUILD_ROOT@/doc/html && \
git commit -anm "Deploy on gh-pages" && \
git subtree split --prefix @BUILD_ROOT@/doc/html -b gh-pages && \
git push --force origin gh-pages:gh-pages && \
git checkout work 2>/dev/null