diff options
author | bnewbold <bnewbold@robocracy.org> | 2016-10-16 20:46:05 -0700 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2016-10-16 20:46:05 -0700 |
commit | 8ec307163bd487dcbf9522dba7d7cbcc757867dd (patch) | |
tree | 7c0478c907c295620a6b2615e82cbb34fb836497 /Makefile | |
parent | b48e412eb2111fd3b24bcac991c77c41ef240627 (diff) | |
download | einhyrningsins-8ec307163bd487dcbf9522dba7d7cbcc757867dd.tar.gz einhyrningsins-8ec307163bd487dcbf9522dba7d7cbcc757867dd.zip |
update docs
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 10 insertions, 9 deletions
@@ -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 |