local-openid 0.1.1 - fix Sinatra dependency
[local-openid.git] / GNUmakefile
blob531f07affafac58cbfa45e0a23a8b71dbb53d91c
1 all:
3 publish_doc:
4 -git set-file-times
5 $(MAKE) doc
6 $(MAKE) doc_gz
7 rsync -av --delete doc/ dcvr:/srv/bogomips/local-openid/
8 git ls-files | xargs touch
10 doc: .document
11 rdoc -Na -m README.txt -t "$(shell sed -ne '1s/^= //p' README.txt)"
13 # Create gzip variants of the same timestamp as the original so nginx
14 # "gzip_static on" can serve the gzipped versions directly.
15 doc_gz: suf := html js css
16 doc_gz: globs := $(addprefix doc/*.,$(suf)) $(addprefix doc/*/*.,$(suf))
17 doc_gz: docs := $(wildcard $(globs))
18 doc_gz:
19 for i in $(docs); do gzip < $$i > $$i.gz; touch -r $$i $$i.gz; done