From fbe63c175d0fb0ca67ea726cd1126540a76ea80a Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 18 Sep 2009 13:55:30 -0700 Subject: NEWS.atom: file timestamp matches latest entry Avoid needlessly wasting readers' bandwidth if they're caching. --- local.mk.sample | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3-24-ge0c7