diff options
author | Ryan Kavanagh <ryanakca@kubuntu.org> | 2011-08-18 20:22:33 -0400 |
---|---|---|
committer | Ryan Kavanagh <ryanakca@kubuntu.org> | 2011-08-25 07:43:10 -0400 |
commit | 045d95f65715a991e8e54f6b5c5aa7edeb1a9ae0 (patch) | |
tree | 8d4bed62805b3a5be361e9e16e2f8060ea85c6c8 /dm | |
parent | Handle path to msmtp (diff) |
Handle ZSH path
Diffstat (limited to 'dm')
-rwxr-xr-x | dm | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -4,11 +4,14 @@ SUBSTS_FILE=SUBSTS.local # Files that need changes to work locally or that contain sensitive # information LOCAL_FILES = \ + .gitconfig \ .imapfilter/config.lua \ .msmtprc \ + .muttrc \ .mutt/accounts.rc \ .netrc \ .offlineimaprc \ + .screenrc \ .xmonad/xmonad.hs \ .zshrc \ @@ -59,6 +62,8 @@ XMONAD_DZEN_X = $(call get-val,XMONAD_DZEN_X) XMONAD_DZEN_Y = $(call get-val,XMONAD_DZEN_Y) LOCALE = $(call get-val,LOCALE) SUBSTS_LS = $(call get-val,SUBSTS_LS) +MSMTP_PATH = $(call get-val,MSMTP_PATH) +ZSH_PATH = $(call get-val,ZSH_PATH) # This target relies on GLOBAL_FILES being before LOCAL_FILES so that the # build/LOCAL_FILES targets overwrite what was copied in GLOBAL_FILES. @@ -101,6 +106,10 @@ build/.mutt/accounts.rc: .mutt/accounts.rc $(SUBSTS_FILE) -e 's/QUEENSU_PASS/$(QUEENSU_PASS)/g' \ -e 's/MSMTP_PATH/$(MSMTP_PATH)/g' $< > $@ +build/.screenrc: .screenrc $(SUBSTS_FILE) + [ -d $(dir $@) ] || mkdir $(dir $@) + sed -e 's/ZSH_PATH/$(ZSH_PATH)/g' $< > $@ + build/.xinitrc: .xinitrc $(SUBSTS_FILE) [ -d build ] || mkdir build sed -e 's/SCREENLAYOUT/$(SCREENLAYOUT)/g' $< > $@ |