local-openid.git  about / heads / tags
Single User, Ephemeral OpenID Provider
blob 531f07affafac58cbfa45e0a23a8b71dbb53d91c 585 bytes (raw)
$ git show v0.1.0:GNUmakefile	# shows this blob on the CLI

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
 
all:

publish_doc:
	-git set-file-times
	$(MAKE) doc
	$(MAKE) doc_gz
	rsync -av --delete doc/ dcvr:/srv/bogomips/local-openid/
	git ls-files | xargs touch

doc: .document
	rdoc -Na -m README.txt -t "$(shell sed -ne '1s/^= //p' README.txt)"

# Create gzip variants of the same timestamp as the original so nginx
# "gzip_static on" can serve the gzipped versions directly.
doc_gz: suf := html js css
doc_gz: globs := $(addprefix doc/*.,$(suf)) $(addprefix doc/*/*.,$(suf))
doc_gz: docs := $(wildcard $(globs))
doc_gz:
	for i in $(docs); do gzip < $$i > $$i.gz; touch -r $$i $$i.gz; done

git clone https://yhbt.net/local-openid.git