aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: db6ed36bbbd68b7c77653a479fd083939a73e017 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

RONN =	ronn
MANPAGE =	einhyrningsins.1

docs: doc/*.ronn
	$(RONN) -r doc/*.ronn
	$(RONN) --style toc -5 doc/*.ronn

gh-pages: docs
	mkdir -p /tmp/einhyrningsins-ronn
	cp doc/*.1.html /tmp/einhyrningsins-ronn
	git checkout gh-pages
	cp /tmp/einhyrningsins-ronn/*.html .
	git add -u *.html
	git commit -m "updating rendered manpage for github docs" || true
	git checkout master
	rm -r /tmp/einhyrningsins-ronn