From c7e2cef8bfc5dd72f5722917429183045eef7e5e Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 18 Sep 2009 13:24:46 -0700 Subject: doc: latest news is available through finger We're expanding our target audience to folks that do not use HTTP (yet). --- GNUmakefile | 2 +- README | 1 + local.mk.sample | 5 +++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index b6f340c..2359721 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -159,7 +159,7 @@ atom = unicorn.1 && > unicorn_rails.1 rdoc -Na -t "$(shell sed -ne '1s/^= //p' README)" - install -m644 COPYING doc/COPYING + install -m644 $(shell grep '^[A-Z]' .document) doc/ $(MAKE) -C Documentation install-html cd doc && for i in unicorn unicorn_rails; do \ sed -e '/"documentation">/r man1/'$$i'.1.html' \ diff --git a/README b/README index d36fcd3..cfc1248 100644 --- a/README +++ b/README @@ -166,3 +166,4 @@ to post on the mailing list. No top posting. Address replies +To:+ (or * nntp: nntp://news.gmane.org/gmane.comp.lang.ruby.unicorn.general * archives: http://rubyforge.org/pipermail/mongrel-unicorn/ * subscribe: http://rubyforge.org/mailman/listinfo/mongrel-unicorn/ +* finger: unicorn@bogomips.org diff --git a/local.mk.sample b/local.mk.sample index 92c121b..572ab8f 100644 --- a/local.mk.sample +++ b/local.mk.sample @@ -31,6 +31,7 @@ test-19: publish_doc: -git set-file-times $(MAKE) doc + awk 'BEGIN{RS="=== ";ORS=""}NR==2{ print RS""$$0 }' NEWS > doc/LATEST $(MAKE) doc_gz rsync -av --delete doc/ dcvr:/srv/unicorn/ git ls-files | xargs touch @@ -38,7 +39,7 @@ publish_doc: # Create gzip variants of the same timestamp as the original so nginx # "gzip_static on" can serve the gzipped versions directly. doc_gz: suf := html js css -doc_gz: docs = $(shell find doc/ -regex '^.*\.\(html\|js\|css\)$$') doc/COPYING +doc_gz: docs = $(shell find doc -type f ! -regex '^.*\.\(gif\|jpg\|png\|gz\)$$') doc_gz: for i in $(docs); do \ - gzip --rsyncable < $$i > $$i.gz; touch -r $$i $$i.gz; done + gzip --rsyncable -9 < $$i > $$i.gz; touch -r $$i $$i.gz; done -- cgit v1.2.3-24-ge0c7