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

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 .
	cp einhyrningsins.1.html index.html
	git add -u *.html
	git commit -m "updating rendered manpage for github docs"
	git checkout master
	rm -r /tmp/einhyrningsins-ronn