aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Kavanagh <ryanakca@kubuntu.org>2011-08-21 18:01:50 -0400
committerRyan Kavanagh <ryanakca@kubuntu.org>2011-08-25 07:43:12 -0400
commit59045c59b9d957c669e3ed825a7cf826325f3330 (patch)
tree5d9a309e33c460fa3f560004c7bad618066a1eab
parentGeneralise build target (diff)
Force local files that have global directories
-rwxr-xr-xdm9
1 files changed, 9 insertions, 0 deletions
diff --git a/dm b/dm
index 218fe57..612368c 100755
--- a/dm
+++ b/dm
@@ -89,6 +89,15 @@ BUILD = $(patsubst %,build/%,$(GLOBAL_FILES) $(LOCAL_FILES))
build: $(BUILD)
+# We must force these with a phony target, otherwise, make will see that they're
+# already there (for example, from installing the rest of .mutt or .zsh) and
+# will skip them---which means they don't get their substitutions
+build/.imapfilter/config.lua: FORCE
+build/.mutt/accounts.rc: FORCE
+build/.xmonad/xmonad.hs: FORCE
+build/.zsh/func/prompt_wunjo_setup: FORCE
+FORCE:
+
build/%: % $(SUBSTS_FILE)
[ -d $(dir $@) ] || mkdir -p $(dir $@)
rsync -a $< $@