|
|
@@ -13,11 +13,14 @@ install: |
|
|
|
chmod 755 $(DESTDIR)$(PREFIX)/$$script; \ |
|
|
|
done |
|
|
|
mkdir -p $(DESTDIR)$(PREFIX)/share/mutt-wizard |
|
|
|
chmod 755 $(DESTDIR)$(PREFIX)/share/mutt-wizard |
|
|
|
for shared in share/*; do \ |
|
|
|
cp -f $$shared $(DESTDIR)$(PREFIX)/share/mutt-wizard; \ |
|
|
|
chmod 644 $(DESTDIR)$(PREFIX)/share/mutt-wizard/$$shared; \ |
|
|
|
done |
|
|
|
mkdir -p $(DESTDIR)$(MANPREFIX)/man1 |
|
|
|
cp -f mw.1 $(DESTDIR)$(MANPREFIX)/man1/mw.1 |
|
|
|
chmod 644 $(DESTDIR)$(MANPREFIX)/man1/mw.1 |
|
|
|
if [ "$(PREFIX)" ]; then \ |
|
|
|
sed -iba 's:/usr/local:$(PREFIX):' $(DESTDIR)$(PREFIX)/share/mutt-wizard/mutt-wizard.muttrc; \ |
|
|
|
rm -f $(DESTDIR)$(PREFIX)/share/mutt-wizard/mutt-wizard.muttrcba; \ |
|
|
|