summaryrefslogtreecommitdiff
path: root/.mutt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '.mutt/Makefile')
-rw-r--r--.mutt/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/.mutt/Makefile b/.mutt/Makefile
new file mode 100644
index 0000000..a4b94ce
--- /dev/null
+++ b/.mutt/Makefile
@@ -0,0 +1,19 @@
+HOME=/home/urbain
+TARGETS=$(addprefix $(HOME)/,.mutt .mutt/temp .mutt/cache .mutt/cache/bodies)
+
+all : $(TARGETS)
+
+$(HOME)/.mutt :
+ rm -f $@ && ln -s $(PWD) $@
+
+$(HOME)/.mutt/temp :
+ mkdir -p $@
+
+$(HOME)/.mutt/cache :
+ mkdir -p $@
+
+$(HOME)/.mutt/cache/bodies :
+ mkdir -p $@
+
+clean :
+ rm -f $(TARGETS)