summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index da553de..def57c3 100644
--- a/Makefile
+++ b/Makefile
@@ -16,10 +16,10 @@ 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 -
+ (cat $^; echo) | crontab -
date > '$@'
# don't do anything, just create these if they doesn't exist
@@ -27,6 +27,9 @@ clean:
touch '$@'
Maildir:
mkdir -p '$@'/{cur,new,tmp}
+Maildir/%: | Maildir
+ mkdir -p '$@'/{cur,new,tmp}
+ touch '$@'/maildirfolder
commit:
git commit -a