about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-09-18 13:55:30 -0700
committerEric Wong <normalperson@yhbt.net>2009-09-18 13:58:55 -0700
commitfbe63c175d0fb0ca67ea726cd1126540a76ea80a (patch)
tree484f0c5b1b42fef3af8209b04c68266e19b52662
parentc7e2cef8bfc5dd72f5722917429183045eef7e5e (diff)
downloadunicorn-fbe63c175d0fb0ca67ea726cd1126540a76ea80a.tar.gz
Avoid needlessly wasting readers' bandwidth if they're caching.
-rw-r--r--local.mk.sample1
1 files changed, 1 insertions, 0 deletions
diff --git a/local.mk.sample b/local.mk.sample
index 572ab8f..6896afa 100644
--- a/local.mk.sample
+++ b/local.mk.sample
@@ -41,5 +41,6 @@ publish_doc:
 doc_gz: suf := html js css
 doc_gz: docs = $(shell find doc -type f ! -regex '^.*\.\(gif\|jpg\|png\|gz\)$$')
 doc_gz:
+        touch doc/NEWS.atom.xml -d "$$(awk 'NR==1{print $$4,$$5,$$6}' NEWS)"
         for i in $(docs); do \
           gzip --rsyncable -9 < $$i > $$i.gz; touch -r $$i $$i.gz; done