#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.