]> git.armaanb.net Git - lightcards.git/commitdiff
Add local and uninstall options to Makefile
authorArmaan Bhojwani <me@armaanb.net>
Sun, 31 Jan 2021 04:18:14 +0000 (23:18 -0500)
committerArmaan Bhojwani <me@armaanb.net>
Sun, 31 Jan 2021 04:32:17 +0000 (23:32 -0500)
Makefile

index b0b7362e7d65d1ac01d8017d84a766f42b3e1d5c..671607888263821072c1e021e6377c9401e3d24c 100644 (file)
--- 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