diff options
author | Luke Smith <luke@lukesmith.xyz> | 2019-05-05 09:34:16 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-05 09:34:16 -0400 |
commit | 7c7b551a02a3a876354a511e23001081049db409 (patch) | |
tree | e69a062517032ebea3f1c4becce6fb25e3aa4ee5 | |
parent | b7059e630c8d40214173c5b239c27a49cd55fda3 (diff) | |
parent | 06c3d0e34c3c0b6178c1a2b2100277eac180421b (diff) |
Merge pull request #195 from monorkin/fix/mailcap-on-macos
Use correct prefix in muttrc on macOS
-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 |