diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-06-02 23:19:42 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-06-02 23:19:42 -0400 |
commit | 7e842cfd399c0bea9d480d5fa7a18dfa06bb6a60 (patch) | |
tree | 3d42b1ca90cb3bd3a551ab209e8f38912a10bbec /Makefile | |
parent | 9347fcfe000dcafd353b63ccab0f3dc2b8de2271 (diff) |
This is what happens when I use Parabola for a day.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -1,12 +1,22 @@ CHECK = $(HOME)/.prefix:$(HOME):/usr/local:/usr:/ NANO_SHARE = $(firstword $(wildcard $(addsuffix /share/nano,$(subst :, ,$(CHECK))))) -all: .nanorc +targets=.nanorc .folders .crontab.cookie +all: $(targets) +clean: + rm -f $(targets) .nanorc: .nanorc.in $(NANO_SHARE) cat '$<' > '$@' 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@'>'$@' + +.crontab.cookie: .crontab .crontab.local + cat $^ | crontab + date > '$@' + commit: git commit -a |