Skip to content

Commit

Permalink
Work around redirection issue on windows buildbots (#19619)
Browse files Browse the repository at this point in the history
* Work around redirection issue on windows buildbots

with documentation build, ref #18588 (comment)
redirecting to a file should work, but redirecting to a cygwin pipe
or driving application like perl or python (in the buildbot case) doesn't

* Simpler case that's not as windows specific

* Revert "Simpler case that's not as windows specific"

This reverts commit 4424c54.

Unfortunately this doesn't stop on possible failures in the doc build
  • Loading branch information
tkelman authored Dec 17, 2016
1 parent db7e6ab commit c327563
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,19 @@ help:
@echo " check to run linkcheck and doctests"

clean:
-rm -rf _build/* deps/*
-rm -rf _build/* deps/* docbuild.log

cleanall: clean

html:
@echo "Building HTML documentation."
ifneq ($(OS),WINNT)
$(JULIA_EXECUTABLE) make.jl -- deploy
else
# work around issue #11727, windows output redirection breaking on buildbot
$(JULIA_EXECUTABLE) make.jl -- deploy > docbuild.log 2>&1
@cat docbuild.log
endif
@echo "Build finished. The HTML pages are in _build/html."

pdf:
Expand Down

0 comments on commit c327563

Please sign in to comment.