summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index da553de..e04ff9f 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,7 @@ clean:
for file in $(NANO_SHARE)/*.nanorc; do echo "include \"$$file\""; done >> '$@'
.folders: Maildir
- find ~/Maildir -maxdepth 2 -type f -name "maildirfolder" -printf '%h\n'|sed -r 's@.*/(.*\.)(.*)@.\1\2@'|sort>'$@'
+ ( echo '..'; find ~/Maildir -maxdepth 2 -type f -name "maildirfolder" -printf '%h\n'|sed -r 's@.*/(.*\.)(.*)@.\1\2@' )|sort>'$@'
.crontab.cookie: .crontab .crontab.local
cat $^ | crontab -
@@ -27,6 +27,8 @@ clean:
touch '$@'
Maildir:
mkdir -p '$@'/{cur,new,tmp}
+Maildir/%: | Maildir
+ mkdir -p '$@'/{cur,new,tmp}
commit:
git commit -a