X-Git-Url: https://git.armaanb.net/?p=charsel.git;a=blobdiff_plain;f=Makefile;fp=Makefile;h=55eb16ca214f7862580c00427b3732340faceb79;hp=526b31427282bbc2751c2b5c2048e23bd802653b;hb=11c92905165c2b140143d27791c160f8727417e1;hpb=983fe3a83791de6f8df163b936c912487c81be43 diff --git a/Makefile b/Makefile index 526b314..55eb16c 100644 --- a/Makefile +++ b/Makefile @@ -1,36 +1,27 @@ .DEFAULT_GOAL := install -.RECIPEPREFIX := > install: ->chmod +x ./charsel ->mkdir -p /usr/share/charsel/charfiles/ ->cp charfiles/* /usr/share/charsel/charfiles/ ->cp shell-completions /usr/share/charsel/ ->mkdir /usr/share/doc/charsel ->cp README.md /usr/share/doc/charsel/ ->cp ./charsel /usr/bin/ + chmod +x ./charsel + mkdir -p /usr/share/charsel/charfiles/ + cp charfiles/* /usr/share/charsel/charfiles/ + cp shell-completions /usr/share/charsel/ + mkdir /usr/share/doc/charsel + cp README.md /usr/share/doc/charsel/ + cp ./charsel /usr/bin/ uninstall: ->rm -rf /usr/share/charsel/ ->rm -rf /usr/share/doc/charsel/ ->rm -rf /usr/bin/charsel + 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/ ->cp shell-completions /usr/share/charsel/ ->mkdir /usr/share/doc/charsel ->cp README.md /usr/share/doc/charsel/ ->cp ./charsel /usr/bin/ + make uninstall + make install purge: ->rm -rf ${HOME}/.local/share/charsel/ ->rm -rf ${HOME}/.cache/charsel/ + rm -rf ${HOME}/.local/share/charsel/ + rm -rf ${HOME}/.cache/charsel/ install-completions-bash: ->echo "source /usr/share/charsel/shell-completions" >> '${HOME}/.bashrc' ->echo "autoload bashcompinit ; bashcompinit ; source /usr/share/charsel/shell-completions" >> '${ZDOTDIR}/.zshrc' + echo "source /usr/share/charsel/shell-completions" >> '${HOME}/.bashrc' + echo "autoload bashcompinit ; bashcompinit ; source /usr/share/charsel/shell-completions" >> '${ZDOTDIR}/.zshrc'