diff options
| author | ruki <[email protected]> | 2017-05-25 13:31:34 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-05-25 13:31:34 +0800 |
| commit | 90a8a85a5773c246e4330125a97940310cb63001 (patch) | |
| tree | 538e46a521ee1e47d6f6f7cbc01a3cdd4208f2e5 | |
| parent | f39253df1fe3545529c60ae857dad37cea166918 (diff) | |
improve uninstall for makefile
| -rw-r--r-- | makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -75,8 +75,8 @@ install: uninstall: @echo uninstalling from $(prefix) ... - @if [ -f $(prefix)/bin/xmake ]; then rm $(prefix)/bin/xmake; fi - @if [ -d $(prefix)/share/xmake ]; then rm -rf $(prefix)/share/xmake; fi + @if [ -f $(xmake_loader_install) ]; then rm $(xmake_loader_install); fi + @if [ -d $(xmake_dir_install) ]; then rm -rf $(xmake_dir_install); fi @echo ok! test: |
