Use correct prefix in muttrc on macOS
This commit is contained in:
parent
b7059e630c
commit
06c3d0e34c
4
Makefile
4
Makefile
@ -18,6 +18,10 @@ install:
|
|||||||
for shared in share/*; do \
|
for shared in share/*; do \
|
||||||
cp -f $$shared $(DESTDIR)$(PREFIX)/share/mutt-wizard; \
|
cp -f $$shared $(DESTDIR)$(PREFIX)/share/mutt-wizard; \
|
||||||
done
|
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
|
mkdir -p $(DESTDIR)$(MANPREFIX)/man1
|
||||||
cp -f mw.1 $(DESTDIR)$(MANPREFIX)/man1/mw.1
|
cp -f mw.1 $(DESTDIR)$(MANPREFIX)/man1/mw.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user