From 59045c59b9d957c669e3ed825a7cf826325f3330 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Sun, 21 Aug 2011 18:01:50 -0400 Subject: Force local files that have global directories --- dm | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'dm') 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 $< $@ -- cgit v1.2.3