summaryrefslogtreecommitdiff
path: root/.config/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '.config/Makefile')
-rw-r--r--.config/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/.config/Makefile b/.config/Makefile
index c4cd5d0..c530806 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
@@ -39,3 +43,4 @@ ${HOME}/Maildir/%: | ${HOME}/Maildir
.PHONY: FORCE PHONY
FORCE: ;
PHONY: ;
+endif