From 413322fa1851917b749383e9207d16ba58274f59 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 18 Sep 2009 16:00:11 -0700 Subject: doc/LATEST: remove trailing newline Make finger output as meaningful as possible to folks on slower connections and small terminals --- local.mk.sample | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'local.mk.sample') diff --git a/local.mk.sample b/local.mk.sample index 6896afa..68cb044 100644 --- a/local.mk.sample +++ b/local.mk.sample @@ -27,11 +27,14 @@ test-18: test-19: $(MAKE) test test-rails r19=1 2>&1 | sed -u -e 's!^!1.9 !' +latest: NEWS + @awk 'BEGIN{RS="=== ";ORS=""}NR==2{sub(/\n$$/,"");print RS""$$0 }' < $< + # publishes docs to http://unicorn.bogomips.org publish_doc: -git set-file-times $(MAKE) doc - awk 'BEGIN{RS="=== ";ORS=""}NR==2{ print RS""$$0 }' NEWS > doc/LATEST + $(MAKE) -s latest > doc/LATEST $(MAKE) doc_gz rsync -av --delete doc/ dcvr:/srv/unicorn/ git ls-files | xargs touch -- cgit v1.2.3-24-ge0c7