Le jeudi 22 mars, Jason Grout a écrit: > On 3/21/12 7:34 PM, Julien Puydt wrote: > > Hi, > > > > yesterday I noticed that there are many places in sage's sources (I > > only checked in the sage spkg) where inclusions are made with a > > filename which looks like ../../../../../whatever (no exageration: > > up to *five* levels!). > > > > Shouldn't those be removed, and the right path added to the include > > line? > > What is the "right path"? I thought the paths should be relative so > that sage could be moved.
When you move things, instead of changing a hundred of places which point to them very precisely, you just change the one place where the include path to them is set. The goal is to have include "bar/foo.h" everywhere in the code ; and a single "-I${SAGE_BAR_INCLUDES}" in a build file. Snark on #sagemath -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org