aboutsummaryrefslogtreecommitdiff
path: root/dm
diff options
context:
space:
mode:
authorRyan Kavanagh <ryanakca@kubuntu.org>2011-08-18 19:36:20 -0400
committerRyan Kavanagh <ryanakca@kubuntu.org>2011-08-25 07:43:08 -0400
commit3831b808673969866f5774fdfcbe912ae3b78555 (patch)
tree67af9a50516bb8e893531316a7f7cbf4cdd52c38 /dm
parentsha256sums (diff)
Added .msmtprc
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' \