|
@@ -5,26 +5,21 @@ MANPREFIX = $(PREFIX)/share/man |
|
|
|
|
|
|
|
|
install: |
|
|
install: |
|
|
mkdir -p $(DESTDIR)$(PREFIX)/bin |
|
|
mkdir -p $(DESTDIR)$(PREFIX)/bin |
|
|
cp -f bin/mw $(DESTDIR)$(PREFIX)/bin |
|
|
|
|
|
chmod 755 $(DESTDIR)$(PREFIX)/bin/mw |
|
|
|
|
|
cp -f bin/openfile $(DESTDIR)$(PREFIX)/bin |
|
|
|
|
|
chmod 755 $(DESTDIR)$(PREFIX)/bin/openfile |
|
|
|
|
|
cp -f bin/muttimage $(DESTDIR)$(PREFIX)/bin |
|
|
|
|
|
chmod 755 $(DESTDIR)$(PREFIX)/bin/muttimage |
|
|
|
|
|
cp -f bin/mailsync $(DESTDIR)$(PREFIX)/bin |
|
|
|
|
|
chmod 755 $(DESTDIR)$(PREFIX)/bin/mailsync |
|
|
|
|
|
|
|
|
for script in bin/*; do \ |
|
|
|
|
|
cp -f $$script $(DESTDIR)$(PREFIX)/bin/; \ |
|
|
|
|
|
chmod 755 $(DESTDIR)$(PREFIX)/$$script; \ |
|
|
|
|
|
done |
|
|
mkdir -p $(DESTDIR)$(PREFIX)/share/mutt-wizard |
|
|
mkdir -p $(DESTDIR)$(PREFIX)/share/mutt-wizard |
|
|
mkdir -p $(DESTDIR)$(MANPREFIX)/man1 |
|
|
|
|
|
cp -f mailcap $(DESTDIR)$(PREFIX)/share/mutt-wizard |
|
|
cp -f mailcap $(DESTDIR)$(PREFIX)/share/mutt-wizard |
|
|
cp -f mutt-wizard.muttrc $(DESTDIR)$(PREFIX)/share/mutt-wizard |
|
|
cp -f mutt-wizard.muttrc $(DESTDIR)$(PREFIX)/share/mutt-wizard |
|
|
cp -f domains.csv $(DESTDIR)$(PREFIX)/share/mutt-wizard |
|
|
cp -f domains.csv $(DESTDIR)$(PREFIX)/share/mutt-wizard |
|
|
|
|
|
mkdir -p $(DESTDIR)$(MANPREFIX)/man1 |
|
|
cp -f mw.1 $(DESTDIR)$(MANPREFIX)/man1/mw.1 |
|
|
cp -f mw.1 $(DESTDIR)$(MANPREFIX)/man1/mw.1 |
|
|
|
|
|
|
|
|
uninstall: |
|
|
uninstall: |
|
|
rm -f $(DESTDIR)$(PREFIX)/bin/mw |
|
|
|
|
|
rm -f $(DESTDIR)$(PREFIX)/bin/mailsync |
|
|
|
|
|
rm -f $(DESTDIR)$(PREFIX)/bin/openfile |
|
|
|
|
|
rm -f $(DESTDIR)$(PREFIX)/bin/muttimage |
|
|
|
|
|
|
|
|
for script in bin/*; do \ |
|
|
|
|
|
rm -f $(DESTDIR)$(PREFIX)/bin/$$script; \ |
|
|
|
|
|
done |
|
|
rm -rf $(DESTDIR)$(PREFIX)/share/mutt-wizard |
|
|
rm -rf $(DESTDIR)$(PREFIX)/share/mutt-wizard |
|
|
|
|
|
|
|
|
.PHONY: install uninstall |
|
|
.PHONY: install uninstall |