summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-11-15 08:00:11 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-11-15 08:00:11 -0500
commitebc4f813d517d44ddf7440fd8043c5d41adf8932 (patch)
tree9697e7c5351dc7d4c93a960982de93291d2312cb /Makefile
parent5257c5fdd016833b86bf2d826ff9e30a1c15bd57 (diff)
parent86e56415e8c8081c99b99209182a6b5b34361d74 (diff)
Merge branch 'master' into identica-mode-1.2
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 998ff62..da553de 100644
--- a/Makefile
+++ b/Makefile
@@ -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