diff options
author | Luke Smith <luke@lukesmith.xyz> | 2019-11-25 12:40:18 -0500 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2019-11-25 12:40:18 -0500 |
commit | 576d7b3d65d10e13418f1c05b504065207208f41 (patch) | |
tree | c33387f0d916a61ed1e9a46df2c922af0ea07b34 | |
parent | 4542f27c2edfe73ed870a0ad7d772802ab3c81cc (diff) |
backup files deleted on install
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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: |