summaryrefslogtreecommitdiff
path: root/.config/Makefile
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2014-07-10 18:05:37 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2014-07-10 18:05:37 -0400
commit79603171010f907ef037213b7ec6cbf5f33258c1 (patch)
tree33ca779e6a691e582fe73fefbf32349d75e110ba /.config/Makefile
parenta0b0e2faf634625c2ae1981cb1a5604648ad8334 (diff)
stuff
Diffstat (limited to '.config/Makefile')
-rw-r--r--.config/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/Makefile b/.config/Makefile
index 829b820..dd4c37f 100644
--- a/.config/Makefile
+++ b/.config/Makefile
@@ -14,8 +14,8 @@ all: $(targets)
clean:
rm -f $(targets)
-${HOME}/.folders: ${HOME}/Maildir
- ( echo '..'; find $< -maxdepth 2 -type f -name "maildirfolder" -printf '%h\n'|sed -r 's@.*/(.*\.)(.*)@.\1\2@' )|sort>'$@'
+${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' >'$@'
${GITDIR}/info/exclude: ${HOME}/.git.info.exclude.in $(shell echo .??*/)
( cat $<; find $^ -type f -name 'CACHEDIR.TAG' -printf '%h\n'|sed 's@^\./@/@' ) > $@