build: add Makefile

This commit is contained in:
2025-12-18 12:19:07 +01:00
parent 8bc6e6be7f
commit 5c659a673b

12
Makefile Normal file
View File

@@ -0,0 +1,12 @@
ROOT_DIR:=$(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
PLUGIN_NAME:=albert-plugin-python-uuid-generator
INSTALL_ROOT:=$(HOME)/.local/share/albert/python/plugins
INSTALL_DIR:=$(INSTALL_ROOT)/$(PLUGIN_NAME)
.PHONY: install
install: uninstall
ln -fs $(ROOT_DIR)/ $(INSTALL_DIR)
.PHONY: uninstall
uninstall:
rm -f $(INSTALL_DIR)