summaryrefslogtreecommitdiff
path: root/.mutt/Makefile
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2015-09-16 15:38:58 +0100
committerUrbain Vaes <urbain@vaes.uk>2015-09-16 15:38:58 +0100
commitb920816216cb161449dcf03ffe964c667c7b36c2 (patch)
tree8f666cc88277df541e3364fbc45dcd63acd7a45e /.mutt/Makefile
parent63a9e763db248af694edc3755a288f2bfb73c834 (diff)
Split install file
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)