[haiku-bugs] Re: [Haiku] #5454: [patch] added rule UntarArchive

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Wed, 24 Feb 2010 17:36:24 -0000

#5454: [patch] added rule UntarArchive
--------------------------+-------------------------------------------------
 Reporter:  mmadia        |       Owner:  bonefish      
     Type:  enhancement   |      Status:  new           
 Priority:  normal        |   Milestone:  R1            
Component:  Build System  |     Version:  R1/Development
 Keywords:                |   Blockedby:                
 Platform:  All           |    Blocking:  5457          
--------------------------+-------------------------------------------------

Comment(by bonefish):

 Replying to [comment:4 mmadia]:
 > How could I sniff the archive file extension?

 In the jam language {{{$(myVariable:S)}}} translates to the file name
 extension (*s*uffix) of the file name stored in {{{$(myVariable)}}}. Have
 a look at buildtools/trunk/jam/Jam.html for more info on the language. For
 an example of extension handling cf. the [http://dev.haiku-
 os.org/browser/haiku/trunk/build/jam/OverriddenJamRules#L141 Object rule].

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/5454#comment:5>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: