diff options
author | Ryan Kavanagh <ryanakca@kubuntu.org> | 2011-08-21 18:01:50 -0400 |
---|---|---|
committer | Ryan Kavanagh <ryanakca@kubuntu.org> | 2011-08-25 07:43:12 -0400 |
commit | 59045c59b9d957c669e3ed825a7cf826325f3330 (patch) | |
tree | 5d9a309e33c460fa3f560004c7bad618066a1eab | |
parent | Generalise build target (diff) |
Force local files that have global directories
Diffstat (limited to '')
-rwxr-xr-x | dm | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 $< $@ |