#6495: Build the reference manual incrementally
-----------------------------+----------------------------------------------
   Reporter:  mpatel         |          Owner:  tba                        
       Type:  enhancement    |         Status:  needs_review               
   Priority:  major          |      Milestone:  sage-4.7.2                 
  Component:  documentation  |       Keywords:                             
Work_issues:                 |       Upstream:  N/A                        
   Reviewer:  Volker Braun   |         Author:  Mitesh Patel, John Palmieri
     Merged:                 |   Dependencies:  11251                      
-----------------------------+----------------------------------------------

Comment(by jhpalmieri):

 Here's a new version; the only difference is this change to
 SAGE_ROOT/devel/sage/spkg-dist:
 {{{
 #!diff
 diff --git a/spkg-dist b/spkg-dist
 --- a/spkg-dist
 +++ b/spkg-dist
 @@ -38,15 +38,23 @@ fi

  # Remove the .cython_hash file, since including this in the bdist will
  # completely break "sage -br".
 -# Also, do not distribute these build files (.os and .os);
 +# Also, do not distribute these build files (.so and .os);
  # it wastes space and causes problems!

 -rm -f .cython_hash c_lib/*.so c_lib/*.os
 +rm -f .cython_hash c_lib/*.so c_lib/*.os

  # Delete all the autogenerated files, since they will get created again
  # when SAGE is built or upgraded.
  cd sage; "$CUR"/spkg-delauto .; cd ..

 +# Delete the autogenerated files in the doc directory.
 +rm -rf doc/output
 +rm -rf doc/en/reference/sage
 +rm -rf doc/en/reference/sagenb
 +rm -rf doc/en/reference/static
 +rm -rf doc/en/reference/templates
 +rm -rf doc/en/reference/*/sage sage/doc/en/reference/*/static
 sage/doc/en/reference/*/templates
 +
  # Create the sdist using Python's distutils.
  python setup.py sdist
 }}}
 This makes for a slightly smaller sage-....spkg file, and more
 importantly, if the old autogenerated files are there, they can confuse
 the docbuild process.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6495#comment:18>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to