Ticket #6495: trac_6495-root.patch

File trac_6495-root.patch, 1.5 KB (added by jhpalmieri, 8 years ago)

root repo

  • Makefile

    # HG changeset patch
    # User J. H. Palmieri <palmieri@math.washington.edu>
    # Date 1321060933 28800
    # Node ID 2953795d83bf6d432cee178d211afef64fc0009c
    # Parent  bbf1a9968d91d8ad1774c979e11969dc0db0dc14
    # 6495: root repo, add parallel docbuilding targets to Makefile
    
    diff --git a/Makefile b/Makefile
    a b start: build 
    6969doc: doc-html
    7070
    7171doc-html: build # (already) indirectly depends on $(PIPE)
    72         $(PIPE) "./sage -docbuild --no-pdf-links all html $(SAGE_DOCBUILD_OPTS) 2>&1" "tee -a dochtml.log"
     72        $(PIPE) "env SAGE_PARALLEL_DOCBUILD='$(SAGE_PARALLEL_DOCBUILD)' ./sage --docbuild --no-pdf-links all html $(SAGE_DOCBUILD_OPTS) 2>&1" \
     73        "tee -a dochtml.log"
    7374
    7475doc-html-jsmath: build # (already) indirectly depends on $(PIPE)
    75         $(PIPE) "./sage -docbuild --no-pdf-links all html -j $(SAGE_DOCBUILD_OPTS) 2>&1" "tee -a dochtml.log"
     76        $(PIPE) "env SAGE_PARALLEL_DOCBUILD='$(SAGE_PARALLEL_DOCBUILD)' ./sage --docbuild --no-pdf-links all html -j $(SAGE_DOCBUILD_OPTS) 2>&1" \
     77        "tee -a dochtml.log"
    7678
    7779doc-pdf: build # (already) indirectly depends on $(PIPE)
    78         $(PIPE) "./sage -docbuild all pdf $(SAGE_DOCBUILD_OPTS) 2>&1" "tee -a docpdf.log"
     80        $(PIPE) "env SAGE_PARALLEL_DOCBUILD='$(SAGE_PARALLEL_DOCBUILD)' ./sage --docbuild all pdf $(SAGE_DOCBUILD_OPTS) 2>&1" \
     81        "tee -a docpdf.log"
     82
     83doc-parallel: SAGE_PARALLEL_DOCBUILD = yes
     84doc-parallel: doc
     85
     86doc-pdf-parallel: SAGE_PARALLEL_DOCBUILD = yes
     87doc-pdf-parallel: doc-pdf
    7988
    8089doc-clean:
    8190        @echo "Deleting devel/sage/doc/output..."