Skip to content

Commit

Permalink
Update release-candidate target
Browse files Browse the repository at this point in the history
1. Rebuilds Unicode input table if necessary. (Ref: 3ef3792)

2. Sphinx doc build no longer terminates on warning. Unfortunately this
is necessary to ignore warnings from multiple method signatures for
Julia generic functions, which Sphinx warns about since they shouldn't
exist in Python.

[ci skip]
  • Loading branch information
jiahao authored and staticfloat committed Feb 17, 2015
1 parent e8af0f3 commit 79846f8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,16 @@ debug release: | $(DIRS) $(build_datarootdir)/julia/base $(build_datarootdir)/ju
release-candidate: release test
@#Check documentation
@./julia doc/NEWS-update.jl #Add missing cross-references to NEWS.md
@$(MAKE) -C doc unicode #Rebuild Unicode table if necessary
@./julia doc/DocCheck.jl > doc/UNDOCUMENTED.rst 2>&1 #Check for undocumented items
@if [ -z "$(cat doc/UNDOCUMENTED.rst)" ]; then \
rm doc/UNDOCUMENTED.rst; \
else \
echo "Undocumented functions found in doc/UNDOCUMENTED.rst; document them, then retry"; \
exit 1; \
fi
@$(MAKE) -C doc html SPHINXOPTS="-W" #Rebuild Julia HTML docs pedantically
@$(MAKE) -C doc latex SPHINXOPTS="-W" #Rebuild Julia PDF docs pedantically
@$(MAKE) -C doc html SPHINXOPTS="-n" #Rebuild Julia HTML docs pedantically
@$(MAKE) -C doc latex SPHINXOPTS="-n" #Rebuild Julia PDF docs pedantically
@$(MAKE) -C doc doctest #Run Julia doctests
@$(MAKE) -C doc linkcheck #Check all links
@$(MAKE) -C doc helpdb.jl #Rebuild Julia online documentation for help(), apropos(), etc...
Expand Down

0 comments on commit 79846f8

Please sign in to comment.