#16303: 'make doc-clean' calls system-wide 'git', which may break 'make 
distclean'
----------------------------+------------------------
       Reporter:  leif      |        Owner:
           Type:  defect    |       Status:  new
       Priority:  critical  |    Milestone:  sage-6.3
      Component:  build     |   Resolution:
       Keywords:            |    Merged in:
        Authors:            |    Reviewers:
Report Upstream:  N/A       |  Work issues:
         Branch:            |       Commit:
   Dependencies:            |     Stopgaps:
----------------------------+------------------------

Comment (by leif):

 Alternate "solution":
 {{{
 #!diff
 diff --git a/src/doc/Makefile b/src/doc/Makefile
 index a4a15b3..fc0e269 100644
 --- a/src/doc/Makefile
 +++ b/src/doc/Makefile
 @@ -8,5 +8,5 @@ clean:
         rm -rf en/reference/sage
         rm -rf en/reference/sagenb
         rm -rf output
 -       git clean -f -d .
 -
 +       @git clean -f -d . 2>/dev/null || \
 +       echo "It is recommended to have a git version installed outside of
 Sage."
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/16303#comment:10>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to