aboutsummaryrefslogtreecommitdiff
path: root/dm
diff options
context:
space:
mode:
Diffstat (limited to 'dm')
-rwxr-xr-xdm8
1 files changed, 7 insertions, 1 deletions
diff --git a/dm b/dm
index 96ca35d..7d2189f 100755
--- a/dm
+++ b/dm
@@ -5,6 +5,7 @@ SUBSTS_FILE=SUBSTS.local
# information
LOCAL_FILES = \
.imapfilter/config.lua \
+ .msmtprc \
.mutt/accounts.rc \
.netrc \
.offlineimaprc \
@@ -74,10 +75,15 @@ build/.imapfilter/config.lua: .imapfilter/config.lua $(SUBSTS_FILE)
sed -e 's/LOCAL_PASS/$(LOCAL_PASS)/g' \
-e 's/PM_EMAIL/$(PM_EMAIL)/g' $< > $@
-build/.netrc: .netrc $(SUBSTS_FILES)
+build/.netrc: .netrc $(SUBSTS_FILE)
[ -d build ] || mkdir build
sed -e 's/LOCAL_PASS/$(LOCAL_PASS)/g' $< > $@
+build/.msmtprc: .msmtprc $(SUBSTS_FILE)
+ [ -d $(dir $@) ] || mkdir $(dir $@)
+ sed -e 's/QUEENSU_PASS/$(QUEENSU_PASS)/g' \
+ -e 's/GMAIL_PASS/$(GMAIL_PASS)/g' $< > $@
+
build/.mutt/accounts.rc: .mutt/accounts.rc $(SUBSTS_FILE)
[ -d build/.mutt ] || mkdir -p build/.mutt
sed -e 's/LOCAL_PASS/$(LOCAL_PASS)/g' \