diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-04-13 16:06:01 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-04-13 16:17:38 -0400 |
commit | 7b1858b944e6f9e6fa225bbf4c32d2bf8238233b (patch) | |
tree | 5e0860fbdddbd36df2213af157ce0aa070cdcf17 /.config | |
parent | 971fb829748b8c1727825c03cfc8b8ef6e3fea35 (diff) |
Makefile: exclude old FOLDERS in ~/.folders
Diffstat (limited to '.config')
-rw-r--r-- | .config/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/Makefile b/.config/Makefile index 909486d..18672b0 100644 --- a/.config/Makefile +++ b/.config/Makefile @@ -15,7 +15,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 -0 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@^\./@/@' ) > $@ |