backup files deleted on install
This commit is contained in:
parent
4542f27c2e
commit
576d7b3d65
6
Makefile
6
Makefile
@ -20,11 +20,11 @@ install:
|
|||||||
cp -f mw.1 $(DESTDIR)$(MANPREFIX)/man1/mw.1
|
cp -f mw.1 $(DESTDIR)$(MANPREFIX)/man1/mw.1
|
||||||
if [ "$(PREFIX)" ]; then \
|
if [ "$(PREFIX)" ]; then \
|
||||||
sed -iba 's:/usr/local:$(PREFIX):' $(DESTDIR)$(PREFIX)/share/mutt-wizard/mutt-wizard.muttrc; \
|
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; \
|
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; \
|
sed -iba 's:/usr/local:$(PREFIX):' $(DESTDIR)$(MANPREFIX)/man1/mw.1; \
|
||||||
fi
|
rm -f $(DESTDIR)$(MANPREFIX)/man1/mw.1ba; \
|
||||||
if [ "$(OS)" = "Darwin" ]; then \
|
|
||||||
rm $(DESTDIR)$(PREFIX)/share/mutt-wizard/mutt-wizard.muttrcba; \
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
|
Loading…
Reference in New Issue
Block a user