[feat] implement backend abstraction, dynamic backend selection, and GPU feature integration
This commit is contained in:
18
plugins/polyscribe-plugin-tubescribe/Makefile
Normal file
18
plugins/polyscribe-plugin-tubescribe/Makefile
Normal file
@@ -0,0 +1,18 @@
|
||||
# Simple helper to build and link the plugin into the user's XDG data dir
|
||||
# Usage:
|
||||
# make build
|
||||
# make link
|
||||
|
||||
PLUGIN := polyscribe-plugin-tubescribe
|
||||
BIN := ../../target/release/$(PLUGIN)
|
||||
|
||||
.PHONY: build link
|
||||
|
||||
build:
|
||||
cargo build -p $(PLUGIN) --release
|
||||
|
||||
link: build
|
||||
@DATA_DIR=$${XDG_DATA_HOME:-$$HOME/.local/share}; \
|
||||
mkdir -p $$DATA_DIR/polyscribe/plugins; \
|
||||
ln -sf "$(CURDIR)/$(BIN)" $$DATA_DIR/polyscribe/plugins/$(PLUGIN); \
|
||||
echo "Linked: $$DATA_DIR/polyscribe/plugins/$(PLUGIN) -> $(CURDIR)/$(BIN)"
|
Reference in New Issue
Block a user