aboutsummaryrefslogtreecommitdiff
path: root/dm
diff options
context:
space:
mode:
authorRyan Kavanagh <ryanakca@kubuntu.org>2011-08-18 20:12:25 -0400
committerRyan Kavanagh <ryanakca@kubuntu.org>2011-08-25 07:43:09 -0400
commit33360638fb7a8783e4e16629a788da814ce4974f (patch)
tree6f7a60b6f96fa07627cf7c2302826ac36a657d02 /dm
parentMerged in lambda's .zshrc (diff)
Handle path to msmtp
Diffstat (limited to 'dm')
-rwxr-xr-xdm12
1 files changed, 11 insertions, 1 deletions
diff --git a/dm b/dm
index 448e0ba..fb75286 100755
--- a/dm
+++ b/dm
@@ -72,6 +72,10 @@ build/.offlineimaprc: .offlineimaprc $(SUBSTS_FILE)
-e 's/GMAIL_PASS/$(GMAIL_PASS)/g' \
-e 's/QUEENSU_PASS/$(QUEENSU_PASS)/g' $< > $@
+build/.gitconfig: .gitconfig $(SUBSTS_FILE)
+ [ -d $(dir $@) ] || mkdir $(dir $@)
+ sed -e 's/MSMTP_PATH/$(MSMTP_PATH)/g' $< > $@
+
build/.imapfilter/config.lua: .imapfilter/config.lua $(SUBSTS_FILE)
[ -d build/.imapfilter ] || mkdir -p build/.imapfilter
sed -e 's/LOCAL_PASS/$(LOCAL_PASS)/g' \
@@ -86,11 +90,16 @@ build/.msmtprc: .msmtprc $(SUBSTS_FILE)
sed -e 's/QUEENSU_PASS/$(QUEENSU_PASS)/g' \
-e 's/GMAIL_PASS/$(GMAIL_PASS)/g' $< > $@
+build/.muttrc: .muttrc $(SUBSTS_FILE)
+ [ -d $(dir $@) ] || mkdir $(dir $@)
+ sed -e 's/MSMTP_PATH/$(MSMTP_PATH)/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' \
-e 's/GMAIL_PASS/$(GMAIL_PASS)/g' \
- -e 's/QUEENSU_PASS/$(QUEENSU_PASS)/g' $< > $@
+ -e 's/QUEENSU_PASS/$(QUEENSU_PASS)/g' \
+ -e 's/MSMTP_PATH/$(MSMTP_PATH)/g' $< > $@
build/.xinitrc: .xinitrc $(SUBSTS_FILE)
[ -d build ] || mkdir build
@@ -105,6 +114,7 @@ build/.xmonad/xmonad.hs: .xmonad/xmonad.hs $(SUBSTS_FILE)
build/.zshrc: .zshrc $(SUBSTS_FILE)
[ -d $(dir $@) ] || mkdir -p $(dir $@)
sed -e 's/LOCALE/$(LOCALE)/g' \
+ -e 's/MSMTP_PATH/$(MSMTP_PATH)/g' \
-e 's/SUBSTS_LS/$(SUBSTS_LS)/g' $< > $@
build/%: %