diff options
author | bnewbold <bnewbold@robocracy.org> | 2016-09-27 00:32:03 -0700 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2016-09-27 00:35:10 -0700 |
commit | 263a1df7a5737f37916e653e85ccff2852276fc3 (patch) | |
tree | 4156a476abbb107ad65cf56a600ba5a146fe480a | |
parent | 7783a0feedd3a20c24a99089f7682f240f0a7b65 (diff) | |
download | einhyrningsins-263a1df7a5737f37916e653e85ccff2852276fc3.tar.gz einhyrningsins-263a1df7a5737f37916e653e85ccff2852276fc3.zip |
gh-pages helper
-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 |