commit 576d7b3d65d10e13418f1c05b504065207208f41
parent 4542f27c2edfe73ed870a0ad7d772802ab3c81cc
Author: Luke Smith <luke@lukesmith.xyz>
Date: Mon, 25 Nov 2019 12:40:18 -0500
backup files deleted on install
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
@@ -20,11 +20,11 @@ install:
cp -f mw.1 $(DESTDIR)$(MANPREFIX)/man1/mw.1
if [ "$(PREFIX)" ]; then \
sed -iba 's:/usr/local:$(PREFIX):' $(DESTDIR)$(PREFIX)/share/mutt-wizard/mutt-wizard.muttrc; \
+ rm -f $(DESTDIR)$(PREFIX)/share/mutt-wizard/mutt-wizard.muttrcba; \
sed -iba 's:/usr/local:$(PREFIX):' $(DESTDIR)$(PREFIX)/bin/mw; \
+ rm -f $(DESTDIR)$(PREFIX)/bin/mwba; \
sed -iba 's:/usr/local:$(PREFIX):' $(DESTDIR)$(MANPREFIX)/man1/mw.1; \
- fi
- if [ "$(OS)" = "Darwin" ]; then \
- rm $(DESTDIR)$(PREFIX)/share/mutt-wizard/mutt-wizard.muttrcba; \
+ rm -f $(DESTDIR)$(MANPREFIX)/man1/mw.1ba; \
fi
uninstall: