diff options
| author | EuAndreh <eu@euandre.org> | 2022-10-27 01:14:51 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2022-10-27 01:38:45 -0300 |
| commit | 0dfd2ccf8e9c5dee553ccfd88843bc724db71cbb (patch) | |
| tree | 347371b19ccc80afabf2f1dccbc7609146d3682d /Makefile | |
| parent | bin/menu: Use exec over spawning new processes for "bin" action (diff) | |
| download | dotfiles-0dfd2ccf8e9c5dee553ccfd88843bc724db71cbb.tar.gz dotfiles-0dfd2ccf8e9c5dee553ccfd88843bc724db71cbb.tar.xz | |
Remove configuration files from email programs
Generate them instead with the new mailcfg(1).
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 30 |
1 files changed, 25 insertions, 5 deletions
@@ -12,14 +12,18 @@ lisp-images = \ $(XDG_DATA_HOME)/lisp-cli/sbcl.image \ derived-assets = \ - $(pod2man) \ - $(XDG_CONFIG_HOME)/ssh/id_rsa.pub \ - $(XDG_DATA_HOME)/common-lisp/source \ - $(XDG_DATA_HOME)/euandreh/e.list.txt \ + $(pod2man) \ + $(XDG_CONFIG_HOME)/ssh/id_rsa.pub \ + $(XDG_CONFIG_HOME)/alot/config \ + $(XDG_CONFIG_HOME)/mbsync/config \ + $(XDG_CONFIG_HOME)/msmtp/config \ + $(XDG_CONFIG_HOME)/notmuch/default/config \ + $(XDG_CONFIG_HOME)/notmuch/default/hooks/post-new \ + $(XDG_DATA_HOME)/common-lisp/source \ + $(XDG_DATA_HOME)/euandreh/e.list.txt \ $(lisp-images) - all: $(derived-assets) @@ -32,6 +36,22 @@ share/man/man1/z.1: bin/z $(XDG_DATA_HOME)/common-lisp/source: ln -s $(SRC)/libre $@ +$(XDG_CONFIG_HOME)/alot/config: bin/mailcfg + mailcfg alot > $@ + +$(XDG_CONFIG_HOME)/mbsync/config: bin/mailcfg + mailcfg mbsync > $@ + +$(XDG_CONFIG_HOME)/msmtp/config: bin/mailcfg + mailcfg msmtp > $@ + +$(XDG_CONFIG_HOME)/notmuch/default/config: bin/mailcfg + mailcfg notmuchcfg > $@ + +$(XDG_CONFIG_HOME)/notmuch/default/hooks/post-new: bin/mailcfg + mailcfg notmuchhook > $@ + chmod +x $@ + $(XDG_CONFIG_HOME)/ssh/id_rsa.pub: gpg --export-ssh-key eu@euandre.org > $@ chmod 600 $@ |
