aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-11-06 20:36:00 -0300
committerEuAndreh <eu@euandre.org>2022-11-06 20:36:03 -0300
commit185517bc659e671d32b22ae5afe678594c84c692 (patch)
treef02103e65c9e1fd4276375ee45ee45b3d25629b2 /Makefile
parentetc/guix/home.scm: Include many alternative shells (diff)
downloaddotfiles-185517bc659e671d32b22ae5afe678594c84c692.tar.gz
dotfiles-185517bc659e671d32b22ae5afe678594c84c692.tar.xz
bin/m: Run mbsync in parallel, with one process per account
Get the accounts from the list generated by `mailcfg list`.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 33e1cac..a9df1f2 100644
--- a/Makefile
+++ b/Makefile
@@ -23,6 +23,7 @@ derived-assets = \
$(XDG_CONFIG_HOME)/msmtp/config \
$(XDG_CONFIG_HOME)/notmuch/default/config \
$(XDG_CONFIG_HOME)/notmuch/default/hooks/post-new \
+ $(XDG_DATA_HOME)/euandreh/mailcfg-accounts.txt \
$(XDG_DATA_HOME)/common-lisp/source \
$(XDG_DATA_HOME)/euandreh/e.list.txt \
$(lisp-images)
@@ -56,6 +57,9 @@ $(XDG_CONFIG_HOME)/notmuch/default/hooks/post-new: bin/mailcfg
mailcfg notmuchhook > $@
chmod +x $@
+$(XDG_DATA_HOME)/euandreh/mailcfg-accounts.txt: bin/mailcfg
+ mailcfg list > $@
+
$(XDG_CONFIG_HOME)/ssh/id_rsa.pub:
gpg --export-ssh-key eu@euandre.org > $@
chmod 600 $@