aboutsummaryrefslogtreecommitdiff
path: root/dm
diff options
context:
space:
mode:
authorRyan Kavanagh <ryanakca@kubuntu.org>2011-08-21 16:07:18 -0400
committerRyan Kavanagh <ryanakca@kubuntu.org>2011-08-25 07:43:11 -0400
commitc94acf66add58d37197ccfaec9225202853bd772 (patch)
treea102c53618c79026bc845dfdb58175fd15ebd8dc /dm
parentAlias vi to vim (diff)
rm or grm?
Diffstat (limited to 'dm')
-rwxr-xr-xdm4
1 files changed, 3 insertions, 1 deletions
diff --git a/dm b/dm
index dc7559c..b82808a 100755
--- a/dm
+++ b/dm
@@ -66,6 +66,7 @@ MSMTP_PATH = $(call get-val,MSMTP_PATH)
ZSH_PATH = $(call get-val,ZSH_PATH)
ZSH_HOST_COLOUR = $(call get-val,ZSH_HOST_COLOUR)
SCREEN_HOST_COLOUR = $(call get-val,SCREEN_HOST_COLOUR)
+SUBSTS_RM = $(call get-val,SUBSTS_RM)
# This target relies on GLOBAL_FILES being before LOCAL_FILES so that the
# build/LOCAL_FILES targets overwrite what was copied in GLOBAL_FILES.
@@ -131,7 +132,8 @@ 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' $< > $@
+ -e 's/SUBSTS_LS/$(SUBSTS_LS)/g' \
+ -e 's/SUBSTS_RM/$(SUBSTS_RM)/g' $< > $@
build/%: %
[ -d $(dir $@) ] || mkdir -p $(dir $@)