about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-09-18 13:24:46 -0700
committerEric Wong <normalperson@yhbt.net>2009-09-18 13:43:25 -0700
commitc7e2cef8bfc5dd72f5722917429183045eef7e5e (patch)
tree5115fbb47906bb63eac0cab8abeca86391e902ce
parentebcbbc995a86698c29ee4784abb540bf5a872945 (diff)
downloadunicorn-c7e2cef8bfc5dd72f5722917429183045eef7e5e.tar.gz
We're expanding our target audience to folks that do not use
HTTP (yet).
-rw-r--r--GNUmakefile2
-rw-r--r--README1
-rw-r--r--local.mk.sample5
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 = <link rel="alternate" title="Atom feed" href="$(1)" \
 doc: .document $(ext)/unicorn_http.c NEWS ChangeLog
         > 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