From 8ec307163bd487dcbf9522dba7d7cbcc757867dd Mon Sep 17 00:00:00 2001 From: bnewbold Date: Sun, 16 Oct 2016 20:46:05 -0700 Subject: update docs --- Makefile | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index fff0e0b..9fd1521 100644 --- a/Makefile +++ b/Makefile @@ -2,16 +2,17 @@ RONN = ronn MANPAGE = einhyrningsins.1 -doc/$(MANPAGE): doc/$(MANPAGE).ronn - $(RONN) -r $< +docs: doc/*.ronn + $(RONN) -r doc/*.ronn + $(RONN) --style toc -5 doc/*.ronn -doc/$(MANPAGE).html: doc/$(MANPAGE).ronn - $(RONN) --style toc -5 $< - -gh-pages: doc/$(MANPAGE).html - cp doc/$(MANPAGE).html /tmp/index.html +gh-pages: docs + mkdir -p /tmp/einhyrningsins-ronn + cp doc/*.1.html /tmp/einhyrningsins-ronn git checkout gh-pages - cp /tmp/index.html index.html - git add -u index.html + 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 -- cgit v1.2.3