summaryrefslogtreecommitdiff
path: root/.config/Makefile
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-01-06 13:08:37 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-01-06 13:08:37 -0500
commit39b328618bbf6e898b4fd1cf2e6207d79bc1769b (patch)
treee37e4ec03e0d53ec408757f5fb1ba88f655beff6 /.config/Makefile
parenta12f3189bcf6d2cf277acfa7824961b158bd57e6 (diff)
.config/Makefile: use GIT_DIR instead of GITDIR
Diffstat (limited to '.config/Makefile')
-rw-r--r--.config/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/.config/Makefile b/.config/Makefile
index dd4c37f..7293c8a 100644
--- a/.config/Makefile
+++ b/.config/Makefile
@@ -2,10 +2,10 @@
SHELL = /bin/bash
-GITDIR = ${HOME}/.git
+GIT_DIR = ${HOME}/.git
targets = \
- ${GITDIR}/info/exclude \
+ ${GIT_DIR}/info/exclude \
${HOME}/.folders \
${XDG_CACHE_HOME}/config-symlinks/cookie \
${XDG_CACHE_HOME}/cron/cookie
@@ -15,8 +15,8 @@ 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' >'$@'
-${GITDIR}/info/exclude: ${HOME}/.git.info.exclude.in $(shell echo .??*/)
+ 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' >'$@'
+${GIT_DIR}/info/exclude: ${HOME}/.git.info.exclude.in $(shell echo .??*/)
( cat $<; find $^ -type f -name 'CACHEDIR.TAG' -printf '%h\n'|sed 's@^\./@/@' ) > $@
${XDG_CACHE_HOME}/cron/cookie: ${XDG_CONFIG_HOME}/cron