build: add Makefile
This commit is contained in:
12
Makefile
Normal file
12
Makefile
Normal 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)
|
||||
Reference in New Issue
Block a user