Skip to content

Commit

Permalink
Fixes to make docupload target
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzosaino committed Jul 29, 2018
1 parent 89d81eb commit 5cec4c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ install: clean
upload: clean doc
python setup.py sdist bdist_wheel upload

# Upload documentation to FNSS website (requirs write permission to fnss/fnss.github.io)
# Upload documentation to FNSS website (requires write permission to fnss/fnss.github.io)
docupload:
make -C $(DOC_DIR) upload

Expand Down
3 changes: 2 additions & 1 deletion doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) $(S
# the i18n builder cannot share the environment and doctrees with the others
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) $(SRCDIR)

.PHONY: help init clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext
.PHONY: help init clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext upload

help:
@echo "Please use \`make <target>' where <target> is one of"
Expand Down Expand Up @@ -173,5 +173,6 @@ upload: html
@git clone git@github.com:fnss/fnss.github.io.git $(BUILDDIR)/website
@rm -rf $(BUILDDIR)/website/doc/core/
@cp -r $(BUILDDIR)/html $(BUILDDIR)/website/doc/core
@git --git-dir=$(BUILDDIR)/website/.git --work-tree=$(BUILDDIR)/website add .
@git --git-dir=$(BUILDDIR)/website/.git --work-tree=$(BUILDDIR)/website commit -a -m "Update core library documentation"
@git --git-dir $(BUILDDIR)/website/.git push origin master

0 comments on commit 5cec4c3

Please sign in to comment.