summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-11-23 18:40:56 -0500
committerLuke Smith <luke@lukesmith.xyz>2019-11-23 18:40:56 -0500
commitb7aa3cfecdc8fcfc47a4ead093f8e8e3d3bd82d5 (patch)
tree28dd2f43a995b157c39f3d7a8df6c1f7570590eb /Makefile
parenteb767737d49b48c9e29134cf68a022780d7991fb (diff)
parent4904fcf51f878a8648d333d2fac7cbfe2728c47b (diff)
Merge branch 'master' of github.com:LukeSmithxyz/mutt-wizard
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 20c82d1..823e719 100644
--- a/Makefile
+++ b/Makefile
@@ -26,8 +26,9 @@ install:
cp -f mw.1 $(DESTDIR)$(MANPREFIX)/man1/mw.1
uninstall:
- for script in bin/*; do \
- rm -f $(DESTDIR)$(PREFIX)/bin/$$script; \
+ for scriptPath in bin/*; do \
+ scriptFile=$$(basename $$scriptPath); \
+ rm -f $(DESTDIR)$(PREFIX)/bin/$$scriptFile; \
done
rm -rf $(DESTDIR)$(PREFIX)/share/mutt-wizard
rm -f $(DESTDIR)$(MANPREFIX)/man1/mw.1