diff options
author | Luke Smith <luke@lukesmith.xyz> | 2019-05-05 09:37:13 -0400 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2019-05-05 09:37:13 -0400 |
commit | 6654b0954b8968e58d0503df2ac383774a314f5a (patch) | |
tree | d8fe9d371e58b1af745a8ba402c5b16577dfda1f | |
parent | 170cdacbe26b75032ba71340650179a62bfd49cf (diff) | |
parent | 7c7b551a02a3a876354a511e23001081049db409 (diff) |
macos fix
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |