[GRASS-dev] Re: [GRASS GIS] #1558: make error in gui/images no directory created because of wrong pattern matching

GRASS GIS trac at osgeo.org
Tue Jan 31 05:16:07 EST 2012


#1558: make error in gui/images no directory created because of wrong pattern
matching
-----------------------+----------------------------------------------------
 Reporter:  pertusus   |       Owner:  grass-dev@…              
     Type:  defect     |      Status:  new                      
 Priority:  normal     |   Milestone:  6.4.2                    
Component:  Compiling  |     Version:  svn-trunk                
 Keywords:             |    Platform:  Linux                    
      Cpu:  x86-64     |  
-----------------------+----------------------------------------------------

Comment(by glynn):

 Replying to [ticket:1558 pertusus]:

 I don't get this behaviour (with 3.82). I encountered a different bug,
 namely that it matched the subdirectory rule:
 {{{
 $(ETCDIR)/symbols/%: | $(ETCDIR)/symbols
 }}}

 and created directories named .../symbols/base/arrow.png/ etc; fixed in
 r50581.

 > "When the target pattern does not contain a slash (and it usually does
 not), directory names in the file names are removed from the file name
 before it is compared with the target prefix and suffix."

 This doesn't apply, as all of the pattern rules contain at least one
 slash.

 > And also I believe that the second rule is chosen because all the
 prerequisites exist:
 >
 > "Note however, that a rule whose prerequisites actually exist or are
 mentioned always takes priority over a rule with prerequisites that must
 be made by chaining other implicit rules."

 It isn't clear what "mentioned" means, but r50581 might fix this, as it
 adds a non-pattern rule for each of the category subdirectories.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1558#comment:1>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list