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

Comment (by jhpalmieri):

 I'm thinking of this:
 {{{
 #!diff
 diff --git a/src/doc/Makefile b/src/doc/Makefile
 index a4a15b3..e0f9f99 100644
 --- a/src/doc/Makefile
 +++ b/src/doc/Makefile
 @@ -8,5 +8,9 @@ clean:
         rm -rf en/reference/sage
         rm -rf en/reference/sagenb
         rm -rf output
 -       git clean -f -d .
 -
 +       -rmdir common/static 2>/dev/null
 +       -rmdir en/reference/*/static 2>/dev/null
 +       -rmdir en/reference/*/templates 2>/dev/null
 +       -rmdir [a-z][a-z]/*/static 2>/dev/null
 +       -rmdir [a-z][a-z]/*/templates 2>/dev/null
 +       -git clean -f -d .
 }}}
 Comments? Should I create a branch?

--
Ticket URL: <http://trac.sagemath.org/ticket/16303#comment:24>
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