commit 6654b0954b8968e58d0503df2ac383774a314f5a parent 170cdacbe26b75032ba71340650179a62bfd49cf Author: Luke Smith <luke@lukesmith.xyz> Date: Sun, 5 May 2019 09:37:13 -0400 macos fix Diffstat:
M | Makefile | | | 4 | ++++ |
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile @@ -18,6 +18,10 @@ install: for shared in share/*; do \ cp -f $$shared $(DESTDIR)$(PREFIX)/share/mutt-wizard; \ done + if [[ "$(OS)" == "Darwin" ]]; then \ + sed -iba 's/\/usr\//\/usr\/local\//' $(DESTDIR)$(PREFIX)/share/mutt-wizard/mutt-wizard.muttrc; \ + rm $(DESTDIR)$(PREFIX)/share/mutt-wizard/mutt-wizard.muttrcba; \ + fi mkdir -p $(DESTDIR)$(MANPREFIX)/man1 cp -f mw.1 $(DESTDIR)$(MANPREFIX)/man1/mw.1