summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-07-02 16:28:32 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-07-02 16:28:32 -0400
commit9afd4dee76a0b1f195b614498351389e63dc2077 (patch)
tree7f18cf1400122e9182c0dc2a10b51acb57312738 /Makefile
parente2af4d64645b78b50f649fed215896f38ebd2d48 (diff)
Make Makefile more... resilient
* Makefile: o Tell crontab to read from stdin (`-') (was implcit on Parabola) o Don't fail if souncards aren't set up
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index fda0439..15857ab 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ clean:
rm -f $(targets)
.alsa.save: FORCE
- alsactl --file $(HOME)/.alsa.save store
+ -alsactl --file $(HOME)/.alsa.save store
.nanorc: .nanorc.in $(NANO_SHARE)
cat '$<' > '$@'
@@ -17,7 +17,7 @@ clean:
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 $^ | crontab -
date > '$@'
commit: