From f801827473b32bb2e9aa96334c8b76589ef63659 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Sat, 7 Jan 2012 22:57:38 -0500 Subject: [PATCH] blog target will now output to stderr if git-weblog missing (instead of stdout) --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 81b83a2..6bb4820 100644 --- a/Makefile +++ b/Makefile @@ -39,7 +39,8 @@ $(outdir)/%.html: %.html $(header) $(footer) | $(outdir) # requires git-weblog from mikegerwitz's git-supp package blog: - @[ "$$( which git-weblog )" ] || ( echo "Please add git-weblog to PATH" && false ) + @[ "$$( which git-weblog )" ] \ + || ( echo "Please add git-weblog to PATH" >&2 && false ) git fetch origin refs/notes/*:refs/notes/* git log --log-size --format="%H%n%B" master \ | grep -A1 '^log size \([5-9][0-9]\{2,\}\|[0-9]\{4,\}\)$$' \