]> git.armaanb.net Git - charsel.git/blobdiff - Makefile
added proper usage
[charsel.git] / Makefile
index cfed2197ff1ec734a346afe36d24735d7f5d394d..d34ff02ed78201a1452e0da5f8228f71cc6ba8ef 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -7,9 +7,22 @@ install:
 >cp charfiles/* /usr/share/charsel/charfiles/
 >mkdir /usr/share/doc/charsel
 >cp README.md /usr/share/doc/charsel/
+>cp usage /usr/share/doc/charsel/
 >cp ./charsel /usr/bin/
 
 uninstall:
 >rm -rf /usr/share/charsel/charfiles/
 >rm -rf /usr/share/doc/charsel/
 >rm -rf /usr/bin/charsel
+
+reinstall:
+>rm -rf /usr/share/charsel/charfiles/
+>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 usage /usr/share/doc/charsel/
+>cp ./charsel /usr/bin/