From: Michael Wallner Date: Sun, 30 Jun 2013 20:36:55 +0000 (+0200) Subject: notify-send X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=c279a4f33736b85e86346448b5aad7ab64b2b612;p=m6w6%2Fbtr notify-send --- diff --git a/lib/btr/btr.sh b/lib/btr/btr.sh index e8bc4c1..2bc8e3e 100755 --- a/lib/btr/btr.sh +++ b/lib/btr/btr.sh @@ -92,7 +92,7 @@ function parseopts { ;; -r|--report) case "$2" in - mail) + *) REPORT_RULES="$2" ;; esac diff --git a/lib/btr/report/notify-send.mk b/lib/btr/report/notify-send.mk new file mode 100644 index 0000000..f4c5197 --- /dev/null +++ b/lib/btr/report/notify-send.mk @@ -0,0 +1,7 @@ +.PHONY: all +.SUFFIXES: + +all: + notify-send "[btr] $(BUILD) $(REPORT)" + +# vim: noet