diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-04-13 17:11:18 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-04-13 17:11:18 -0400 |
commit | 278000a3b8a64fd000ddd8198f76bd2bf78e4557 (patch) | |
tree | 678dd30356203871af1a3c62ef087de9a3981637 /.config/Makefile | |
parent | 596fe4b1610df0a7f5a0ea174d136d179ee08440 (diff) | |
parent | 39db29c39dcca6d47fbc56dffd8c0c7bf63beb51 (diff) |
Merge branch 'master' into build64-par/master
Diffstat (limited to '.config/Makefile')
-rw-r--r-- | .config/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/.config/Makefile b/.config/Makefile index 909486d..94d0cca 100644 --- a/.config/Makefile +++ b/.config/Makefile @@ -1,5 +1,9 @@ #!/usr/bin/make -f - +ifeq ($(XDG_CACHE_HOME),) +default: all; @: +%: + . ~/.profile && $(MAKE) '$@' +else SHELL = /bin/bash GIT_DIR = ${HOME}/.git @@ -15,7 +19,7 @@ clean: rm -f $(targets) ${HOME}/.folders: ${HOME}/Maildir $(MAKEFILE_LIST) - find $< -mindepth 2 -maxdepth 2 \( -type f -name "maildirfolder" -o -type d -name new -o -type d -name tmp -o -type d -name cur \) -printf '%P\0' | xargs -0 dirname -z -- | sort -zu | xargs -0 printf -- '.%s\n' >'$@' + find $< -mindepth 2 -maxdepth 2 \( -type f -name "maildirfolder" -o -type d -name new -o -type d -name tmp -o -type d -name cur \) -printf '%P\0' | xargs -r0 dirname -z -- | sort -zu | xargs -0 printf -- '.%s\n' | grep -vP '^\.FOLDERS.Ham.20(?!15)' > '$@' ${GIT_DIR}/info/exclude: ${HOME}/.git.info.exclude.in $(shell echo .??*/) ( cat $<; find $^ -type f -name 'CACHEDIR.TAG' -printf '%h\n'|sed 's@^\./@/@' ) > $@ @@ -39,3 +43,4 @@ ${HOME}/Maildir/%: | ${HOME}/Maildir .PHONY: FORCE PHONY FORCE: ; PHONY: ; +endif |