You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

28 lines
790 B

  1. .POSIX:
  2. PREFIX = /usr/local
  3. install:
  4. mkdir -p $(DESTDIR)$(PREFIX)/bin
  5. cp -f bin/mw $(DESTDIR)$(PREFIX)/bin
  6. chmod 755 $(DESTDIR)$(PREFIX)/bin/mw
  7. cp -f bin/openfile $(DESTDIR)$(PREFIX)/bin
  8. chmod 755 $(DESTDIR)$(PREFIX)/bin/openfile
  9. cp -f bin/muttimage $(DESTDIR)$(PREFIX)/bin
  10. chmod 755 $(DESTDIR)$(PREFIX)/bin/muttimage
  11. cp -f bin/mailsync $(DESTDIR)$(PREFIX)/bin
  12. chmod 755 $(DESTDIR)$(PREFIX)/bin/mailsync
  13. mkdir -p /usr/share/mutt-wizard
  14. cp -f mailcap /usr/share/mutt-wizard
  15. cp -f muttrc /usr/share/mutt-wizard
  16. cp -f domains.csv /usr/share/mutt-wizard
  17. uninstall:
  18. rm -f $(DESTDIR)$(PREFIX)/bin/mw
  19. rm -f $(DESTDIR)$(PREFIX)/bin/mailsync
  20. rm -f $(DESTDIR)$(PREFIX)/bin/openfile
  21. rm -f $(DESTDIR)$(PREFIX)/bin/muttimage
  22. rm -rf /usr/share/mutt-wizard
  23. .PHONY: install uninstall