From: Armaan Bhojwani Date: Sun, 31 Jan 2021 04:18:14 +0000 (-0500) Subject: Add local and uninstall options to Makefile X-Git-Tag: v0.2.0~12 X-Git-Url: https://git.armaanb.net/?p=lightcards.git;a=commitdiff_plain;h=aeb8a6a9d1f54d4d6f015cef7fe4fa600ec0c570 Add local and uninstall options to Makefile --- diff --git a/Makefile b/Makefile index b0b7362..6716078 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,17 @@ -.DEFAULT_GOAL := install +.DEFAULT_GOAL := local -install: +global: pip install . cp ./lightcards.sh /usr/local/bin/lightcards + +local: + pip install . + cp ./lightcards.sh ~/.local/bin/lightcards + +global-uninstall: + pip uninstall lightcards + rm /usr/local/bin/lightcards + +local-uninstall: + pip uninstall lightcards + rm ~/.local/bin/lightcards