diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -2,8 +2,16 @@ RONN = ronn MANPAGE = einhyrningsins.1 -$(MANPAGE): doc/$(MANPAGE).ronn +doc/$(MANPAGE): doc/$(MANPAGE).ronn $(RONN) -r $< -$(MANPAGE).html: doc/$(MANPAGE).ronn - $(RONN) -5 $< +doc/$(MANPAGE).html: doc/$(MANPAGE).ronn + $(RONN) --style toc -5 $< + +gh-pages: doc/$(MANPAGE).html + cp doc/$(MANPAGE).html /tmp/index.html + git checkout gh-pages + cp /tmp/index.html index.html + git add -u index.html + git commit -m "updating rendered manpage for github docs" + git checkout master |