about summary refs log tree commit homepage
path: root/local.mk.sample
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-09-22 11:40:01 -0700
committerEric Wong <normalperson@yhbt.net>2009-09-22 11:40:01 -0700
commitdbf7eb6748d5b7ea8d2f309748756ffc336ba484 (patch)
tree260c804789b4a9789abe315b342831a6eb1e81a3 /local.mk.sample
parent3ac1670c870cf26a6e578c880151c49b7b289a82 (diff)
downloadunicorn-dbf7eb6748d5b7ea8d2f309748756ffc336ba484.tar.gz
Diffstat (limited to 'local.mk.sample')
-rw-r--r--local.mk.sample4
1 files changed, 4 insertions, 0 deletions
diff --git a/local.mk.sample b/local.mk.sample
index 68cb044..b229567 100644
--- a/local.mk.sample
+++ b/local.mk.sample
@@ -33,9 +33,13 @@ latest: NEWS
 # publishes docs to http://unicorn.bogomips.org
 publish_doc:
         -git set-file-times
+        $(RM) -r doc
         $(MAKE) doc
         $(MAKE) -s latest > doc/LATEST
+        find doc/images -type f | \
+                TZ=UTC xargs touch -d '1970-01-01 00:00:00' doc/rdoc.css
         $(MAKE) doc_gz
+        chmod 444 $$(find doc -type f)
         rsync -av --delete doc/ dcvr:/srv/unicorn/
         git ls-files | xargs touch