diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-11-13 15:17:27 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-11-13 15:17:27 -0500 |
commit | 86e56415e8c8081c99b99209182a6b5b34361d74 (patch) | |
tree | 2fd7d5db2e9d311a031326b519af6d552dac521d /Makefile | |
parent | d1fc37acc5294e94d9a4add0d13a02841b22444c (diff) | |
parent | fa0728204665d9d985f212826be65a563312e7e6 (diff) |
Merge branch 'master' of gitorious.org:lukeshu-dotfiles/lukeshu-dotfiles
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -1,13 +1,15 @@ CHECK = $(HOME)/.prefix:$(HOME):/usr/local:/usr:/ NANO_SHARE = $(firstword $(wildcard $(addsuffix /share/nano,$(subst :, ,$(CHECK))))) +ALSACTL=$(firstword $(shell which alsactl) echo) + targets=.nanorc .folders .crontab.cookie .alsa.save all: $(targets) clean: rm -f $(targets) .alsa.save: FORCE - alsactl --file $(HOME)/.alsa.save store || touch '$@' + $(ALSACTL) --file $(HOME)/.alsa.save store || touch '$@' .nanorc: .nanorc.in $(NANO_SHARE) cat '$<' > '$@' @@ -20,6 +22,12 @@ clean: cat $^ | crontab - date > '$@' +# don't do anything, just create these if they doesn't exist +.crontab.local: + touch '$@' +Maildir: + mkdir -p '$@'/{cur,new,tmp} + commit: git commit -a |