about summary refs log tree commit homepage
path: root/GNUmakefile
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-12-21 04:45:30 +0000
committerEric Wong <normalperson@yhbt.net>2010-12-21 04:45:30 +0000
commit5ffaf7df44425766a60d632881a2debd83605b52 (patch)
treeee80d1b32d4f2f943fd15829a28a79847923c021 /GNUmakefile
parent3a67490b10ca38d7d3d30c6917d75ce0e093706b (diff)
downloadunicorn-5ffaf7df44425766a60d632881a2debd83605b52.tar.gz
It's more useful this way
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 03ed4ac..ef0a26c 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -214,7 +214,7 @@ doc: .document $(ext)/unicorn_http.c NEWS ChangeLog
         $(RUBY) -i -p -e \
           '$$_.gsub!("</title>",%q{\&$(call atom,$(news_atom))})' \
           doc/NEWS.html doc/README.html
-        $(RAKE) -s news_atom > doc/NEWS.atom.xml
+        $(RAKE) -s news_atom OUT=doc/NEWS.atom.xml
         cd doc && ln README.html tmp && mv tmp index.html
         $(RM) $(man1_rdoc)
 
@@ -237,7 +237,6 @@ publish_doc:
 # "gzip_static on" can serve the gzipped versions directly.
 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