]> git.armaanb.net Git - charsel.git/blobdiff - Makefile
modified Makefile
[charsel.git] / Makefile
index cfed2197ff1ec734a346afe36d24735d7f5d394d..1ed3a853e83c7953b31dff7979561005f27f3838 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -10,6 +10,21 @@ install:
 >cp ./charsel /usr/bin/
 
 uninstall:
->rm -rf /usr/share/charsel/charfiles/
+>rm -rf /usr/share/charsel/
 >rm -rf /usr/share/doc/charsel/
 >rm -rf /usr/bin/charsel
+
+reinstall:
+>rm -rf /usr/share/charsel/
+>rm -rf /usr/share/doc/charsel/
+>rm -rf /usr/bin/charsel
+>chmod +x ./charsel
+>mkdir -p /usr/share/charsel/charfiles/
+>cp charfiles/* /usr/share/charsel/charfiles/
+>mkdir /usr/share/doc/charsel
+>cp README.md /usr/share/doc/charsel/
+>cp ./charsel /usr/bin/
+
+purge:
+>rm -rf  $USER/.local/share/charsel/
+>rm -rf $USER/.cache/charsel/