diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-07-02 16:28:32 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-07-02 16:28:32 -0400 |
commit | 9afd4dee76a0b1f195b614498351389e63dc2077 (patch) | |
tree | 7f18cf1400122e9182c0dc2a10b51acb57312738 | |
parent | e2af4d64645b78b50f649fed215896f38ebd2d48 (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
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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: |