From 9afd4dee76a0b1f195b614498351389e63dc2077 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 2 Jul 2011 16:28:32 -0400 Subject: 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 --- Makefile | 4 ++-- 1 file 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: -- cgit v1.1-4-g5e80