]> git.armaanb.net Git - lightcards.git/blobdiff - Makefile
Add reverse option
[lightcards.git] / 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